[Templates] Chomp Directive?

Josh Rosenbaum josh@infogears.com
Thu, 22 Mar 2007 10:19:18 -0600


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.

-- Josh