Re: [ZPT] preventing escaping of less-than and greater-thans in tal:replace

2006-08-14 Thread Don Morrison
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

Re: [ZPT] preventing escaping of less-than and greater-thans in tal:replace

2006-08-14 Thread Don Morrison
Well, you will hit problems with your define because that will run before your repeat. Remove it and be happy. Ah thanks, that's much better. :) select name=task tabindex=2 onchange=ifnew_showdiv('new_task') option tal:repeat=record task_list tal:attributes=label