Am 10.08.2011 12:35, schrieb Malthe Borch:
> The syntax to drop a comment was always:
> 
>   <!--! this comment is dropped -->
> 
> That's from Genshi and it's been in there since 2.0-rc11.
> 
> To add to the confusion, I've just added support for:
> 
>   <!--? this comment is copied in verbatim (e.g. no ${...} inline
> evaluation) -->

Why don't you do it the same way as in Kid and Genshi? Just looked it up
again, and as I already said, Kid and Genshi pass normal XML comments
except when they start with a "!". Makes more sense to me because it
allows you to generate all possible comments in the output, e.g. things
like <!--[if IE 6]> which may not have a question mark.

-- Christoph

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to