[Zope] ZPT rendered output formatting

Felix Ulrich-Oltean felix@chaptereight.com
26 Mar 2003 17:32:02 +0000


Hi

Can I have any control over how ZPT formats the html it produces?
Specifically, source like this:

<p><img tal:attributes="src here/pic/absolute_url"
        title="a piccie" width="24"
        height="45" border="2"
        vspace="2" /></p>

ends up like this (one line):

<p><img title="a piccie" width="24" height="45" border="2" vspace="2" src="http://localhost:8080/temp_folder/pic"></p>



and sometimes, source like this:

<img tal:attributes="src here/pic/absolute_url" width="10" height="12" />

renders like this:

<img src="http://site.com/pic"
     width="10" height="12" >


Any pointers, please?

Thanks

Felix.