Ah, interesting. I've been doing it wrong all these years!

Many thanks,

Phil

Stefan Scholl wrote:
> 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.
> 




-------------------------------------------------------------------------
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