[ZCM] [ZC] 2340/ 2 Edit "tal:attributes doesn't encode entities"
"Collector: Zope Bugs, Features, and Patches ..." <[email protected]> Tue, 17 Jul 2007 10:04:12 -0400
| Newsgroups | gmane.comp.web.zope.devel.collector-monitor |
|---|---|
| Message-ID | <[email protected]> |
Issue #2340 Update (Edit) "tal:attributes doesn't encode entities" Status Pending, Zope/feature medium To followup, visit: http://www.zope.org/Collectors/Zope/2340 ============================================================== = Edit - Entry #2 by ajung on Jul 17, 2007 10:04 am Changes: submitter email, classification (bug => feature) ________________________________________ = Request - Entry #1 by deichi on Jul 17, 2007 9:51 am TAL doesn't encode any entities. But with all entities that occur within attributes at least, that should be the case. Especially " and ' should be encoded to their entity version. Otherwise TAL might generate invalid XML code from statements like <a href="somepage" tal:attributes="title item/Description">somepage</a> -> <a href="somepage" title="This is a link to "somepage"">somepage</a> ==============================================================