[Templates] CHOMP feature request

Sergey Martynoff sergey@martynoff.info
Sat, 4 Feb 2006 00:58:50 +0300


> So, I have been thinking about it and I'd like to propose two 
> new features with whitespace chomping.

> So CHOMP_KILL would do the following fairly desirable thing (no
hacks 
> required).
> 
> "
>    [%~ 1 %]
> 
> 
>              [%~ 2 ~%]
> 
>    [% 3 ~%]
> "
> 
> Which would print 123 without any other whitespace.

That's the right idea. I do suffer a lot sometimes, having to
write series of TT tags on one line without normal indentation.
Adding that "hungry chomp" modifier would solve the problem, so I
join this feature request.


-- 
Sergey Martynoff