Re: [Templates] Comments create newline characters

2008-07-30 Thread John Bida
Using [%- #Comment %] Removed the newline character. Thanks for all the responses. ~Jp On Jul 30, 2008, at 8:09 PM, C. Chad Wallace wrote: > > At 6:37 PM on 30 Jul 2008, John Bida wrote: > >> Is there a filter that removes the newline character that is created >> by the template comments. For

Re: [Templates] Comments create newline characters

2008-07-30 Thread C. Chad Wallace
At 6:37 PM on 30 Jul 2008, John Bida wrote: > Is there a filter that removes the newline character that is created > by the template comments. For example, if you used the following two > files > > > textbox.tt > > [%PROCESS text.tt %] > > > text.tt > [% ## Some type of file header ###%]

Re: [Templates] Comments create newline characters

2008-07-30 Thread Oleg Kostyuk
Use as follows: [%- ## Some type of file header ### -%] See "Chomping Whitespace" in documentation: http://www.template-toolkit.org/docs/manual/Syntax.html#section_Chomping_Whitespace By the way, this applies not only to comments. -- Sincerely yours, Oleg Kostyuk (CUB-UANIC) __

[Templates] Comments create newline characters

2008-07-30 Thread John Bida
Is there a filter that removes the newline character that is created by the template comments. For example, if you used the following two files textbox.tt [%PROCESS text.tt %] text.tt [% ## Some type of file header ###%] [% ## Some type of file header ###%] [% ## Some type of file header #