> On Behalf Of David Kaufman

> Dan Horne <[EMAIL PROTECTED]> wrote:
> > 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
> 
> <rem>...? REM??  REM?!?!  Your BASIC is showing, Dan!  
> 
Ah, I'm getting all misty-eyed thinking about my youth. Long live the
TRS-80!

As an aside, H::T filters have other great uses. For instance I use [% and
%] instead of < and >  (e.g. [%rem%] and [%/rem%], and use [%=myvar%], [%IF
mycondvar%], [%LOOP myloopvar%] instead of <tmpl_var name="myvar">, <tmpl_if
mycondvar>, <tmpl_loop myloopvar>). This means that the editors that our
designers prefer don't barf or complain about syntax errors when using
HTML-like tag delimiters, and it also means that I don't lose my H::T code
in all the HTML tags

Dan


-------------------------------------------------------------------------
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
Html-template-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to