- From: Daniel Biddle <deltab@osian.net>
- Date: Fri, 4 Aug 2000 03:46:28 +0000 (UTC)
- To: html-tidy@w3.org
On Thu, 3 Aug 2000, skark wrote: > <a href="X.ASP?A=1&B=1">AS</a> > > is coverted to > <a href="X.ASP?A=1&B=1">AS</a> > > tidy hould ignore & in hrefs No, this is correct. HTML defines the values of href attributes as CDATA: | <!ATTLIST A | href %URI; #IMPLIED -- URI for linked resource -- : | <!ENTITY % URI "CDATA" : | CDATA is a sequence of characters from the document character set and | may include character entities. Character entities are recognised by starting with an ampersand. Any ampersand that doesn't introduce an entity (such as those in URLs) needs to be encoded as '&'. hope this helps, -- Daniel Biddle <deltab@osian.net>
Received on Thursday, 3 August 2000 23:48:33 UTC