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)


_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://lists.ourshack.com/mailman/listinfo/templates

Reply via email to