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

Bjoern Hoehrmann <[email protected]> Sun, 28 Feb 2010 01:20:42 +0100
Newsgroups gmane.comp.web.html-tidy.user
Message-ID <[email protected]>
* Dennis Kowallek wrote:
>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.
-- 
Björn Höhrmann · mailto:[email protected] · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/