W3C home > Mailing lists > Public > html-tidy@w3.org > April to June 2001

Re: Unexpected behaviour

From: Richard A. O'Keefe <ok@atlas.otago.ac.nz>
Date: Thu, 17 May 2001 12:40:07 +1200 (NZST)
Message-Id: <200105170040.MAA344660@atlas.otago.ac.nz>
To: Kris.VANBRUWAENE@VRT.BE, html-tidy@w3.org
VAN BRUWAENE Kris <Kris.VANBRUWAENE@VRT.BE> asked:
	When using Tidy to convert from html to xhtml I find that it
	replaces & within url's with &amp;

Yes, it must.
	This looks somewhat unexpected to me.

It shouldn't.

	Is it a bug or is there a reason for it?

Yes, there IS a bug in the document, no, Tidy is NOT buggy for correcting it.

	<a href="search.pl?key1=value1&key2=value2"> becomes
	<a href="search.pl?key1=value1&amp;key2=value2">

And so it should.  Tidy has fixed a serious mistake in the document.
Received on Wednesday, 16 May 2001 20:40:20 GMT

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