Having problems with strings in HTML

Sion Arrowsmith siona at chiark.greenend.org.uk
Tue Jun 27 15:23:58 CEST 2006

Lawrence D'Oliveiro  <ldo at geek-central.gen.new_zealand> wrote:
> Kiana Toufighi <kiana.toufighi at utoronto.ca> wrote:
>>print '''
>>            <a 
>> [ ... ] ">GraphicalOutput</a>
>>         ''' [ ... ]
>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.

\S -- siona at chiark.greenend.org.uk -- http://www.chaos.org.uk/~sion/
  ___  |  "Frankly I have no feelings towards penguins one way or the other"
  \X/  |    -- Arthur C. Clarke
   her nu becomeþ se bera eadward ofdun hlæddre heafdes bæce bump bump bump

More information about the Python-list mailing list