[ZPT] structure usage question

Florent Guillaume fg@nuxeo.com
Mon, 23 Sep 2002 20:03:17 +0000 (UTC)


>   <a tal:attributes="href python:'Reports.py?doit&task_id=%s' %(taskid)">
> foo </a>

Note that
   <a href="Reports.py?doit&task_id=bar">foo</a>
is illegal (even if accepted by lots of browsers).

You should use:
   <a href="Reports.py?doit&amp;task_id=bar">foo</a>

Florent
-- 
Florent Guillaume, Nuxeo (Paris, France)
+33 1 40 33 79 87  http://nuxeo.com  mailto:fg@nuxeo.com