[Zope] <dtml-comment> yuk...
Mon, 04 Sep 2000 11:59:42 +0100
Dieter Maurer wrote:
> Chris Withers writes:
> > Is is just me or does stuff inside a <dtml-comment> get parsed?
> "<dtml-comment>" must do a bit of parsing:
> It must at least recognized "</dtml-comment>".
well, yeah, but that's not what I meant...
> Maybe, it wants to recognize nested "<dtml-comment>" (probably not),
> then it must look at all tags.
that wouldn't be nice ;-(
> Probably, however, <dtml-comment> just uses the same parser
> as every other tag and simply discards its content.
> Then, naturally, the content of "<dtml-comment>....</dtml-comment>"
> must be as syntactically correct as the content of
> e.g. "<dtml-if>....</dtml-if>".
Surely that's a bit inefficient?
I hope the contents don't actually get _executed_ and then discarded
each time as well...
> I would expect: patches welcome.
Yes, indeed :-)