[ZPT] Tags are URL ecaped when calling a script from ZPT
Wed, 23 Jan 2002 02:59:58 +0100 (CET)
I have a small PYTHON Script "fetch_companies" which I would like to use
in several ZPTs:
print '<select name="fk_Com_CompanyID"> \
<option value="" />select \
<div tal:repeat="comp here/Companies/SearchMethod"> \
<option value="" tal:attributes="value comp/pk_com_companyid"/> <div tal:replace="comp/com_name" /> \
Now I try to call it from a ZPT:
<div tal:replace="here/fetch_companies">Here goes the company</div>
Unfortunately the tags are escaped to < and >
How can I prevent this?
Or is there a another solution for calling pieces of a ZPT-Code?