[ZPT] Suggestion about commenting for future TAL versions

Fred Drake fdrake at gmail.com
Tue Dec 13 18:06:24 EST 2005


On 12/13/05, Mikko Ohtamaa <snaapy at gmail.com> 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


More information about the ZPT mailing list