Having problems with strings in HTML

Fredrik Lundh fredrik at pythonware.com
Tue Jun 27 09:59:06 EDT 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