Re: bug report

On Fri, 22 Dec 2000, Guido Socher wrote:

> Hello Dave,
> your tidy program is really great. The WWW would be a better palce with
> less browser problems if everybody would use it.

Indeed it would.

> I found however a little problem that tidy has with cgi-bins:
> The following is a perfect link to a cgi-bin:
> <A HREF="http://www.linuxfocus.org/cgi-bin/lftalkback?anum=141&lang=en">...

It's not perfect: ampersands ("&") need to be converted to "&amp;" in
HTML, because "&" is used to start entity references such as "&lt;",
"&amp;" and "&lang;". You should use this:

<A HREF="http://www.linuxfocus.org/cgi-bin/lftalkback?anum=141&amp;lang=en">

> Tidy (vers 4th August 2000) will say to that:
> line 374 column 67 - Warning: entity "&lang" doesn't end in ';'
> 
> I think that warning does not make sence at all.

HTML4 defines an entity called "&lang;" for left angle brackets.
Tidy thinks you meant to use "&lang;" but missed out the ";".

-- 
Daniel Biddle <deltab@osian.net>

Received on Saturday, 23 December 2000 07:55:15 UTC