[ZPT] Weird ZPT macro bug
Andreas Jung
andreas@andreas-jung.com
Mon, 7 Oct 2002 17:45:32 +0200
I have defined the following working macro
<div metal:define-macro="transcript_plain">
<p tal:repeat="entry here/transcript">
<pre tal:content="entry/getComment"> </pre>
</p>
</div>
When I replace the 'pre' tag by a 'div' tag
<div metal:define-macro="transcript_plain">
<p tal:repeat="entry here/transcript">
<div tal:content="entry/getComment"> </div>
</p>
</div>
I get the following error:
Error Type: TALESError
Error Value: Products.PageTemplates.PageTemplate.PTRuntimeError on Page Template collector_macros has errors. in "standard:'here/collector_macros/macros/issue_header'", at line 12, column 3
The error occurs in the template where I am calling the macro.
Is this some kind of side effect?
Andreas