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

Don Morrison donmorrison at gmail.com
Mon Aug 14 14:36:41 EDT 2006


I refactored some...

    <select name="task" tabindex="2" onchange="ifnew_showdiv('new_task')">
      <div tal:repeat="record task_list" tal:omit-tag="">
      <option tal:define="r record/name; id record/task_id;"
              tal:attributes="label r; value id" tal:content="r">
      Example Option
      </option>
      </div>
      <option label="New" value="New">New</option>
    </select>


More information about the ZPT mailing list