On 8/14/06, Don Morrison <[EMAIL PROTECTED]> wrote:
> Eek string replacements are so much uglier than Python string format!

How does Python string format help me?  If I return a string from
Python the less-thans and greater-thans still get html escaped:

     <span tal:replace="python:'<'" />
     <span tal:define="global r record/name; id record/task_id;"
           tal:replace="string:option label='${r}' value='${id}'" />
     <span tal:replace="python:'>'" />
     <span tal:replace="string:${r}" />
     <span tal:replace="python:'<'" />
     <span tal:replace="string:/option" />
     <span tal:replace="python:'>'" />
_______________________________________________
ZPT mailing list
ZPT@zope.org
http://mail.zope.org/mailman/listinfo/zpt

Reply via email to