[Templates] indentation and text files
Andrew Beattie
andrew@tug.com
Wed, 01 Jan 2003 22:58:51 -0000
>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.
Just a sanity check...
You have read the section entitled "Chomping Whitespace" in
http://www.template-toolkit.org/docs/plain/Manual/Syntax.html
and all the bits about CHOMP and TRIM in
http://www.template-toolkit.org/docs/plain/Manual/Config.html
Havn't you?
Andrew