[Zope] <dtml-comment> doesn't? Please fix... ;-)

Kip Rugger rugger@pangea.ca
4 Sep 2000 12:42:35 -0500


In article <20000904220808.B1642@zeus.theinternet.com.au>,
Andrew Kenneth Milton  <akm@mail.theinternet.com.au> wrote:
[snip]
>It's wrong :-)
>
><dtml-comment>
>crap
>more crap
><dtml-comment>
>Lots of crap
></dtml-comment>
></dtml-comment>
>
>In order to parse that fragment, you need to parse the blocks in case you
>find another opening block, so that you can recursively process comments.
>
[snip]

<dtml-if "0">
crap
more crap
<dtml-if "0">
Lots of crap
</dtml-if>
</dtml-if>

by analogy with the common practice of #if 0 in C