[Templates] indentation and text files
   
    valerian
     
    valerian2@hotpop.com
       
    Wed, 1 Jan 2003 14:33:13 -0500
    
    
  
Is there a trick or something to handle indentation sort of like Perl's
"here documents"?  I like to indent my if/then/else statements in the
templates, and indentation has no visible side-effects with HTML
documents, but with plain text files it messes up the formatting.  For
instance, if my template looks like this:
[% IF blah %]
	blahblah, lots of
	text here
[% ELSE %]
	show this instead
[% END %]
Then all the text will be indented, which isn't really what I want to
do.  So anyway I was wondering if there's a way around this?
(preferably without invoking USE_PERL or RAW_PERL)