Having problems with strings in HTML

Fredrik Lundh fredrik at pythonware.com
Tue Jun 27 15:59:06 CEST 2006


Sion Arrowsmith wrote:

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

Yes they should.  CDATA sections can contain character entities; it's elements
that are ignored, not character/entity references.

</F> 






More information about the Python-list mailing list