Re: tidy turns > into > and pretends nothing happened

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 UTC