[Zope] rendering of html
Paz
paz@chello.nl
Wed, 6 Feb 2002 18:25:58 +0100
Greetings,
Feel free to tell me this is a stupid idea, but for sake of clean
sources after rendering a page in Zope, could it be possible to indent
the contents of a var statement? Observe:
Doc1
<html>
<body>
<dtml-var Doc2>
<body>
</html>
Doc2
<table>
<tr>
<td>
Hi
</td>
</tr>
</table>
Note the doc2 is not indented to where the var tag starts, you would
typically want it indented properly. When rendered you see
<html>
<body>
<table>
<tr>
<td>
Hi
</td>
</tr>
</table>
<body>
</html>
But if the rendering indented all the outputted contents of doc2 to the
space that the var tag is in the calling document you should see:
<html>
<body>
<table>
<tr>
<td>
Hi
</td>
</tr>
</table>
<body>
</html>
Is this totally useless or do I miss something?
Regards,
Paz