> 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


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

Reply via email to