Take a look at
http://tt2.org/docs/manual/Syntax.html#section_Chomping_Whitespace

If that's not it, then post an example script and template.

On Wed, Apr 4, 2012 at 9:03 PM, Alex Zwinge <[email protected]> wrote:

> So this is my first time using tt2 so I might just be doing something
> wrong but I've poured through the docs on the website and can't seems
> to find anything.
>
> The issue is that when the template is rendered and outputted to a
> file tt seems like it's adding a bunch of extra line breaks between
> the lines. So for example if in my template I have
>
> <div>blah blah blah</div>
> <div>blah blah blah</div>
> <div>blah blah blah</div>
>
> When the file is output I end up with
> <div>blah blah blah</div>
>
> <div>blah blah blah</div>
>
> <div>blah blah blah</div>
>
> For 99.9% of the content I'm rendering it's a non-issue but it's
> wrecking havok for stuff in my <pre> tags. How can I fix this? I can't
> find any option (pre/post chomp are not it). The content in question
> is static, not perl/tt code.
>
> Vital stats:
> win7 64bit
> v5.14.2 (32bit)
> tt 2.24
>
> _______________________________________________
> templates mailing list
> [email protected]
> http://mail.template-toolkit.org/mailman/listinfo/templates
>



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

Reply via email to