2009/10/27 Rajesh Saha <[email protected]>:
> Hi,
>
> Actually, in my output, I am getting some spaces, which I didn't wanted to
> be. At the same time, I could not figure out, from where it is coming. So,
> as a work-around, I wanted something "backspace" so that I can eliminate
> that spaces.
>
> I have tried [%- something -%] also, but still the same o/p.

TT never inserts whitespace. Any whitespace in your output is there in
your input (probably disguised by the presence of [% ... %]
directives).

The judicious use of [%- and -%] can usually remove any unwanted whitespace.

Can you send a (simple!) example that demonstrates your problem?

Dave...

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

Reply via email to