[Zope] prevent quoting in tal:attributes

Dieter Maurer dieter at handshake.de
Sat Sep 13 08:11:22 EDT 2003


Milos Prudek wrote at 2003-9-12 19:19 +0200:
 > How can I prevent quote escaping in tal:attributes?
I fear, you cannot.
This is a TAL weakness.

 > My attribute contains many quotes itself,
 > and ZPT automatically escapes them.

This is not a problem, as quoted quotes are equivalent to unquoted
ones.

TAL poses a problem when the attribute contains character or
entity references (such as Ä). "tal:attributes" quotes
them as "Ä" which is not the same as "Ä".


Dieter



More information about the Zope mailing list