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

Re: tidy turns > into > and pretends nothing happened

From: Klaus Johannes Rusch <KlausRusch@atmedia.net>
Date: Mon, 25 Feb 2002 20:45:48 CET
Message-Id: <200202252031.PAA22730@tux.w3.org>
To: Alexander Biron <biron@ifh.de>
Cc: <html-tidy@w3.org>
In <Pine.LNX.4.33.0202220958360.19546-100000@pbaik5.ifh.de>, Alexander Biron <biron@ifh.de> writes:
> There is another reason for a tidy comment to be helpfull here: Often
> the string <br or p> were meant to be html tags but a typo occured.

<br or p> would actually get translated to

        <br or="or" p="p" />

for XHTML output, or

        <br or p>

for HTML output, with warnings about unknown attributes "or" and "p".

> similar thing can be said for entities where &amp is transformed to
> &amp;amp ... Here, a tidy comment could be usefull.

Tidy already issues a warning when converting & to &amp;:

Warning: unescaped & or unknown entity "&whatever"

-- 
Klaus Johannes Rusch
KlausRusch@atmedia.net
http://www.atmedia.net/KlausRusch/
Received on Monday, 25 February 2002 15:31:17 GMT

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