Re: [htmltmpl] Comments
Brought to you by:
samtregar
From: Dan H. <dan...@re...> - 2007-03-07 19:58:01
|
One way is to use H::T filters. You could have something like <rem> and </rem> in your code, and use the filter functionality to remove the tags and enclosed content. There will be a performance hit - it works okay for me but YMMV Dan > -----Original Message----- > From: htm...@li... > [mailto:htm...@li...] On > Behalf Of Robert Hicks > Sent: Thursday, 8 March 2007 5:41 a.m. > To: htm...@li... > Subject: [htmltmpl] Comments > > 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? > > > Robert > > > -------------------------------------------------------------- > ----------- > 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 > _______________________________________________ > Html-template-users mailing list > Htm...@li... > https://lists.sourceforge.net/lists/listinfo/html-template-users > |