W3C home > Mailing lists > Public > html-tidy@w3.org > July to September 2000

Re: HTML comments and SSI

From: Richard A. O'Keefe <ok@atlas.otago.ac.nz>
Date: Fri, 15 Sep 2000 11:01:30 +1200 (NZST)
Message-Id: <200009142301.LAA21065@atlas.otago.ac.nz>
To: biron@ifh.de, ok@atlas.otago.ac.nz
Cc: html-tidy@w3.org, saexpress@netscape.net
I wrote, about HTML Tidy changing the line breaking around comments:
	> Certainly a problem, because the two have different content.
Alexander Biron replied:
	Maybe I miss something, but an include file normally contains HTML,


Totally irrelevant.  The point remains:  the comment moving that
HTML Tidy did in the original example CHANGES THE CONTENT of the
document.

It seems as if HTML Tidy is assuming that comments are like tags,
where a #RE; following a start-tag is ignored.  But comments are
not like tags.  Whether on aesthetic grounds or on content grounds,
we are agreed that newlines after comments should not be removed.
Received on Thursday, 14 September 2000 19:01:44 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:44 GMT