W3C home > Mailing lists > Public > html-tidy@w3.org > October to December 2000

[Fwd: [jtidy - Open Discussion] XML comment output needs fixing!]

From: Gary L Peskin <garyp@firstech.com>
Date: Tue, 12 Dec 2000 08:03:13 -0800
Message-ID: <3A364C41.77D19942@firstech.com>
To: Html-Tidy <html-tidy@w3.org>
This came over a JTidy discussion forum but it is really a Tidy issue.

Gary

-------- Original Message --------
By: mattdenner2

Dear all,

i'm a new user of JTidy and have found that it doesn't fix up comments
properly
when outputting XML.  in the XML spec (at
http://www.w3.org/TR/1998/REC-xml-19980210)
in section 2.5 it says "For compatibility, the string '--'
(double-hyphen) must
not occur within comments".  it would be very useful for me to have
JTidy handle
this, say by converting any '--' in a comment to '**'
(asterisk-asterisk). 
anyone point me at where in the code this should be done, or offer a
fix?

Cheers,
Matt
Received on Tuesday, 12 December 2000 11:02:46 GMT

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