Re: Suggestion about commenting for future TAL versions

Fred Drake <[email protected]> Tue, 13 Dec 2005 18:06:24 -0500
Newsgroups gmane.comp.web.zope.page-templates
Message-ID <[email protected]>
On 12/13/05, Mikko Ohtamaa <[email protected]> wrote:
> In TAL making comments is pretty heavy and HTML syntax highlighters don't detect
> comments. Because commenting is such pain lazy people (like me!) might skip it.

Agreed.

> Difference between a comment which appears in the final HTML and a comment which
> is dropped out when applying the template is the number of dashes <!-- and <!---

This is *really* subtle; too much so.  Does anyone actually want to
generate comments that are delivered to the browser anyway?  Maybe the
compilation stage should simply throw out comments by default.


  -Fred

--
Fred L. Drake, Jr.    <fdrake at gmail.com>
"There is no wealth but life." --John Ruskin