[ZPT] Suggestion about commenting for future TAL versions

Mikko Ohtamaa snaapy at gmail.com
Tue Dec 13 16:05:01 EST 2005


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.

E.g.

<tal:comment replace="nothing">
       A long long string before comment begings and comment ends
</tal:comment>

I'd suggest that TAL could use modified HTML syntax comments. 

<!---
   
   A comment goes here


 -->


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 <!--- 

Cheers,
Mikko



More information about the ZPT mailing list