Phil Dawes <[EMAIL PROTECTED]> wrote:
> I noticed that in the html.elements vocabulary the '=href' word 
> automatically url encodes any ampersands in the query string. e.g.:
> 
> ( scratchpad ) "?a=b&b=a" =href nl
>  href='?a=b&amp;b=a'
> 
> This causes problems when you're constructing a URL with query 
> parameters.

This is correct HTML.

& in HTML text must be encoded as the entity &amp;. You can try
to validate your page with and without the entity.

But don't ask PHP users! They tend to do it the wrong way. See
the "PHP Cookbook".


-- 
Web (en): http://www.no-spoon.de/ -*- Web (de): http://www.frell.de/


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to