Suggestion about commenting for future TAL versions
Mikko Ohtamaa <[email protected]> Tue, 13 Dec 2005 21:05:01 +0000 (UTC)
| Newsgroups | gmane.comp.web.zope.page-templates |
|---|---|
| Message-ID | <[email protected]> |
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