[Templates] getting rid of auto ident
Fagyal Csongor
concept@conceptonline.hu
Sat, 18 Nov 2006 15:10:17 +0100 (CET)
Paul,
>> According to my previous example:
>> [% SET a =3D "
>> adsf
>> adsf
>> "
>> %]
>
> Yes. I re-installed 2.15 and tried that string and I got the nice
> spacing. Well, not so nice spacing. I still didn't get the error
> coming up on the PERL block though. I don't have any good answers for
> you there.
Unfortunately I cannot reproduce that :( It happened some time ago in a
rather compex MACRO + BLOCK + RAWPER (etc...) construct...
> Not sure if it is an acceptable solution - but you could try
> CGI::Ex::Template which should be a drop in replacement. A large
> change though is that the cache files are storable data rather than
> perl that will be evaled.
Thank you for the suggestion. Actually TT beats the speed of CET in the
application I am using. Also I have created a workaround for these paddin=
g
spaces, so it is no longer an issue...
I would love the current behaviour to be changed, nevertheless.
- Fagzal