RE: Query strings in links

The problem is not in TIDY but in your HTML -- every sign & has to be
escaped as an HTML entity & . Therefore your A tag should be rather
as follows:

 <A HREF="http://www.hp.com/cgi-bin/bob?a=b&amp;c=d">Bob</A> 

> -----Original Message-----
> From:	Joseph T. Voorhees III [SMTP:voorhees@sdd.hp.com]
> Sent:	Thursday, June 10, 1999 10:08 PM
> To:	html-tidy@w3.org
> Subject:	Query strings in links
> 
> Hi Dave,
> 
> Tidy doesn't seem to like query strings in links that have
> multiple key/value pairs like:
> 
>  <A HREF="http://www.hp.com/cgi-bin/bob?a=b&c=d">Bob</A>
> 
> A warning is produced for this...
> 
>  Warning: unescaped & or unknown entity "&c"
> 
> Joe
> voorhees@sdd.hp.com

Received on Friday, 11 June 1999 03:23:49 UTC