[Zope] returning an HTML comment from ZPT

Evan Simpson evan@4-am.com
Wed, 22 May 2002 21:33:46 -0500


dman wrote:
>     <span tal:replace="python:'<!--'"> </span>
> 
> How might I achieve the desired effect?

<span tal:replace="structure string:&lt;!--"></span>
This is a comment
<span tal:replace="structure string:--&gt;"></span>

Yes, it looks unlikely, but I've tested it :-)

Cheers,

Evan @ 4-am