15 Sep
2003
15 Sep
'03
1:22 p.m.
Dieter Maurer wrote:
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 "Ä".
Does structure not work here? <x tal:attributes="structure name string:Ä"/> cheers, Chris