W3C home > Mailing lists > Public > html-tidy@w3.org > January to March 2010

Re: Tidy converts "--" in comments...

From: Dennis Kowallek <kowallek@iglou.com>
Date: Mon, 01 Mar 2010 06:59:49 -0500
To: html-tidy@w3.org
Message-ID: <71bno55kbm4km0bqp701jl59tgqo7uffni@4ax.com>
On Sun, 28 Feb 2010 01:20:42 +0100, Bjoern Hoehrmann <derhoermi@gmx.net>

>>I am running tidy.exe for windows dated 22 March 2008.
>>I have "fix-bad-comments: no" in the cfg file. But tidy converts "--" in
>>comments to "-=".
>>I would like tidy to leave these alone. What am I doing wrong?
>In XHTML documents, comments are not allowed to contain "--". In HTML
>documents, the situation is essentially the same, but for slightly
>different reasons than in XHTML. I don't think there is an option for
>Tidy to leave this error in the document.

Thanks for the reply.

The reason I asked is that these comments actually contain valid HTML
that I may wish to uncomment in the future. I would prefer that tidy did
not muck with this.

I can work around it...


Received on Monday, 1 March 2010 12:00:23 UTC

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