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

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

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Sun, 28 Feb 2010 01:20:42 +0100
To: Dennis Kowallek <kowallek@iglou.com>
Cc: html-tidy@w3.org
Message-ID: <ujdjo59t47f5a5fepgr6gs79cg9oq052v4@hive.bjoern.hoehrmann.de>
* 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:bjoern@hoehrmann.de · 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/ 
Received on Sunday, 28 February 2010 00:21:17 GMT

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