W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2006

[whatwg] Serialize comments that contain "-->"

From: Simon Pieters <zcorpan@hotmail.com>
Date: Mon, 30 Jan 2006 09:48:39 +0000
Message-ID: <BAY109-F30F5495BC91B4DB695BF9CB4090@phx.gbl>
Hi,

What should happen with comments that contain "-->" when you serialize the 
DOM into HTML? When serializing into XML it should result in a fatal error 
according to DOM3Core[1], but I guess that is not really desired for HTML. 
Should the comment be dropped? Should the serializer insert a space in 
between ("- ->")?

[1] http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-1728279322

Regards,
Simon Pieters
Received on Monday, 30 January 2006 01:48:39 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:25 UTC