[Templates] getting rid of auto ident

Paul Seamons mail@seamons.com
Fri, 17 Nov 2006 08:58:00 -0700


Which TT version are you using.

I get the following with:

[% PERL %]

my $x = <<BAR;
foo
Lets put some long text here.
Hrm
baz
BAR

print $x;

[% END %]

It caches the following:

    $output .=  "\n\nmy \$x = <<BAR;\nfoo\nLets put some long text here.
\nHrm\nbaz\nBAR\n\nprint \$x;\n\n";

That is using TT version 2.14.  So it appears to be fixed in recent versions.

If you are using a recent version - what parameters are you initializing TT 
with?

Paul