perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoffrey Young <ge...@modperlcookbook.org>
Subject Re: Docs error?
Date Tue, 26 Apr 2005 13:13:50 GMT


Carl Johnstone wrote:
> 
> On:
> http://perl.apache.org/docs/tutorials/client/browserbugs/browserbugs.html
> 
> 
> It talks about browsers misreading URLs like:
> 
> http://example.com/foo.pl?foo=bar&reg=foobar
> 
> Presuming this is within a HTML page e.g.:
> 
> <a href="http://example.com/foo.pl?foo=bar&reg=foobar"> ...
> 
> then the actual problem is that the & has not been changed into a HTML
> entity - so what you should do is:
> 
> <a href="http://example.com/foo.pl?foo=bar&amp;reg=foobar"> ...

yeah, I think that's right.  at least if you run the first HTML example
throught the w3c validator you'll get error messages left and right until it
looks like the second example.

HTH

--Geoff

Mime
View raw message