Re: Comments
Michael Peters <[email protected]> Wed, 07 Mar 2007 11:45:01 -0500
| Newsgroups | gmane.comp.lang.perl.modules.html-template |
|---|---|
| Message-ID | <[email protected]> |
Robert Hicks wrote: > In TT I can create a comment like: > > [%# This is a comment %] > > The benefit to that is that comment gets stripped out when the template > is processed (i.e you don't see it if you source the HTML file from the > browser window). > > Is there a way to create a filter in HT that does the same thing? <tmpl_if never_going_to_use_this_var> # This is a comment </tmpl_if> -- Michael Peters Developer Plus Three, LP ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV