[Zope-Checkins] CVS: Releases/Zope/lib/python/TAL -
TALInterpreter.py:1.83
Evan Simpson
evan at 4-am.com
Thu Dec 11 12:23:56 EST 2003
Update of /cvs-repository/Releases/Zope/lib/python/TAL
In directory cvs.zope.org:/tmp/cvs-serv3486/lib/python/TAL
Modified Files:
TALInterpreter.py
Log Message:
Collector #1139: tal:attributes didn't escape double quotes.
=== Releases/Zope/lib/python/TAL/TALInterpreter.py 1.82 => 1.83 ===
--- Releases/Zope/lib/python/TAL/TALInterpreter.py:1.82 Fri Oct 3 14:54:47 2003
+++ Releases/Zope/lib/python/TAL/TALInterpreter.py Thu Dec 11 12:23:24 2003
@@ -374,7 +374,7 @@
elif evalue is self.Default:
value = attrEscape(value)
else:
- value = escape(value)
+ value = escape(value, quote=1)
value = '%s="%s"' % (name, value)
return ok, name, value
bytecode_handlers["<attrAction>"] = attrAction
More information about the Zope-Checkins
mailing list