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>
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>

Received on Wednesday, 11 October 2000 23:52:23 UTC

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