On 3/22/07, Josh Rosenbaum <[EMAIL PROTECTED]> wrote:

It would be nice to have a tag to control the chomping method in TT
similar to the
TAGS directive. (ie: [% TAGS <! !> %])

I'm thinking:
[% PRE_CHOMP CHOMP_NONE %]
[% POST_CHOMP CHOMP_ALL %]

or maybe:
[% CHOMP CHOMP_NONE CHOMP_ALL %]
or:
[% CHOMP NONE ALL %]

Anyone have any thoughts on this? There have been a few times where I've
wanted to override the standard behavior we have here.


Maybe make it a scoped block, with a corresponding END directive, to prevent
spooky action-at-a-distance?

Thinking more generally, maybe a directive to change a range of parser
attributes (ANYCASE, INTERPOLATE, etc) in a scoped fashion.


--Sean

Reply via email to