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

RE: Bug Report: "--" in comments

From: Randy Waki <rwaki@flipdog.com>
Date: Wed, 6 Sep 2000 11:31:45 -0600
To: "Evan Lenz" <elenz@xyzfind.com>, <html-tidy@w3.org>
Message-ID: <002d01c01828$53cf58f0$51eee13f@rwaki>
Evan Lenz wrote:
> Tidy, in XHTML mode, currently allows "--" to be output in comments, which
> violates XML well-formedness.

Do you have an example?  Is this by any chance JavaScript embedded in
comments?  Except for JavaScript, Tidy has been changing illegal runs of
"--" into "==" just fine for us.

Note that JavaScript embedded in comments is an exception because of
JavaScript's -- operator.  Tidy can't break up the -- operator without
affecting the script.  If this is what's happening, you might check the
thread titled "xml parsing error for < character" for a possible
solution (go to
and search for "< character").

Received on Wednesday, 6 September 2000 13:33:30 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:48 UTC