2009/9/12 Bill Ward <[email protected]>:
> Is your Web server (or whatever TT is running on) a Unix type or Windows
> type OS?

Running on Windows XP. I did not set up TT in a web server
environment, I just tried it using a simple 10-line script and a 2
line template.

If the template is

-------
Insert [% myvariable %] here
Something else from [% myvariable2 %] goes here.
-------

The output will be

-------
Insert var1 here

Something else from var2 goes here.

-------


Obviously prechomp and postchomp won't do any difference, since line
feeds do not happen at variables, but at end of line in template. TT
should leave those but not make extras...

If the template is saved in UNIX format (an option from NotePad++) it works.

Possibly there's an option, can someone point me in the right direction ?

- torben

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

Reply via email to