On Thu, Dec 18, 2003 at 12:40:03PM -0800, Bill Moseley wrote:
> http://www.template-toolkit.org/docs/plain/Modules/Template/Plugin/Autoformat.html
> 
> I'm failing to get the Autoformat plugin to work.  Am I missing
> something obvious?

>     # define some text for the examples
>     [% text = BLOCK %]
>        Be not afeard.  The isle is full of noises, sounds and sweet 
>        airs that give delight but hurt not.
>     [% END %]

It's that leading newline that's throwing off Text::Autoformat

[% text = BLOCK -%]
     Be not afeard.  The isle is full of noises, sounds and sweet
     airs that give delight but hurt not.
[% END %]

$ perl -MText::Autoformat -MTemplate -le 'print 
"$Text::Autoformat::VERSION\n$Template::VERSION\n"'
1.12
2.10


-- 
Bill Moseley
[EMAIL PROTECTED]


_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to