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

Re: bug report

From: Daniel Biddle <deltab@osian.net>
Date: Sat, 23 Dec 2000 12:53:39 +0000 (UTC)
To: Guido Socher <guido@bearix.oche.de>
cc: html-tidy@w3.org, gerald@w3.org
Message-ID: <Pine.LNX.4.21.0012231235540.12160-100000@charizard.blazingfast.net>
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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:49 UTC