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

RE: For Dave Ragget, tidy bug?

From: Jelks Cabaniss <jelks@jelks.nu>
Date: Wed, 11 Oct 2000 23:47:52 -0400
To: <html-tidy@w3.org>
Message-ID: <NBBBICMNIPCICMKJECCBOEPDDNAA.jelks@jelks.nu>
Alf Warnock wrote:

> I downloaded the latest version of tidy because I had a problem with the
> earlier versions I had on my machine. When I run tidy, it replaces & with
> &mp;.  If I run it again, I get &mp;mp;.

I think you mean that it replaces '&' with '&amp;'.

> I greatly appreciate having this program. Thank you for your work. I hope
> you can fix the bug.

It's not a bug, it's required for well-formed markup.  '&amp;' is the entity
used to represent the ampersand in markup, both in content and in URLs.
This has been discussed here and other lists numerous times.

	<p>Shares of AT&amp;T decreased today.</p>

	<p>Click <a href="quote.cgi?item=price&amp;symbol=T">here</a>
	for a quote.</p>


/Jelks
Received on Wednesday, 11 October 2000 23:52:23 GMT

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