14 Mar
2004
14 Mar
'04
8:23 p.m.
Andrew Veitch wrote at 2004-3-12 23:10 +0000:
<input tal:attributes="value here/mystring" />
mystring may contain a quote that needs to be escaped to "
It's not automatically escaped by the TAL engine, unfortunately if I write code to escape it myself then I end up with " because although TAL fails to escape " it does escape &!
I cannot reproduce your problem in my Zope 2.7.0. Especially, I tried '<a href="abc" tal:attributes="title python:'\x22'">abc</a>' and correctly got '<a href="abc" title=""">abc</a>' -- Dieter