Having problems with strings in HTML

Lawrence D'Oliveiro ldo at geek-central.gen.new_zealand
Wed Jun 28 23:42:16 EDT 2006


In article <e7rdod$96t$1 at blackmamba.itd.rl.ac.uk>,
 "Richard Brodie" <R.Brodie at rl.ac.uk> wrote:

>"Sion Arrowsmith" <siona at chiark.greenend.org.uk> wrote in message 
>news:gLB*BXekr at news.chiark.greenend.org.uk...
>
>>>By the way, you _do_ realize that your "&" characters should be escaped
>>>as "&", don't you?
>>
>> No they shouldn't. They part of the url, which is (IIRC) a CDATA
>> attribute of the A element, not PCDATA.
>
>It is CDATA but ampersands still need to be escaped. 

I believe it's common for CGI argument-parsing routines to accept ";" as 
a synonym for "&" as the argument separator. Certainly the code I use 
does.



More information about the Python-list mailing list