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

malformed comments

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Wed, 7 Jul 1999 23:27:52 +0200
Message-ID: <00a801bec8bf$bd3d4310$c7e0a8c0@de>
To: <html-tidy@w3.org>

I often see, that Html Authors use Html comments to seperate sections in
their Html file using e.g.:



<!-- ----------- -->

The second one detected by Tidy correctly with "malformed comment", but the
first one isn't. I'm not sure, how the first example should be treated;
NSGMLS reports the following:

 ^  commment declaration started here

So this must be some illegal use et all.

To tidy up both i suggest to split those '-' lines up to legal comments,

<!-- -- -- -- -- -->

or something alike.

 Bjoern Hoehrmann
Received on Wednesday, 7 July 1999 17:30:07 GMT

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