Re: [Templates] maintain that formatting after including

2009-12-18 Thread Randal L. Schwartz
> "Larry" == Larry Leszczynski writes: Larry> [%- INCLUDE thing | indent(4) %] You know, I looked for indent, and didn't find it. :) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 http://www.stonehenge.com/merlyn/> Smalltalk/Perl/Unix consulting, Techni

Re: [Templates] maintain that formatting after including

2009-12-18 Thread Larry Leszczynski
> server > { > stuff > [% INCLUDE thing %] > } > > where thing has > > Foo > Bar > > and end up with > > server > { > stuff > foo > bar > } > > is there anyway to get it so that it is > > server > { > stuff > foo > bar > } How about something like (untested): se

Re: [Templates] maintain that formatting after including

2009-12-18 Thread Sean Allen
On Fri, Dec 18, 2009 at 2:48 PM, Randal L. Schwartz wrote: > > "Sean" == Sean Allen writes: > > Sean> i repeatedly hit this type of scenario... > Sean> server > Sean> { > Sean> stuff > Sean> [% INCLUDE thing %] > Sean> } > > server > { >stuff > [% INCLUDE thing | format("%s")

Re: [Templates] maintain that formatting after including

2009-12-18 Thread Randal L. Schwartz
> "Sean" == Sean Allen writes: Sean> i repeatedly hit this type of scenario... Sean> server Sean> { Sean> stuff Sean> [% INCLUDE thing %] Sean> } server { stuff [% INCLUDE thing | format("%s") %] } -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 00

[Templates] maintain that formatting after including

2009-12-18 Thread Sean Allen
i repeatedly hit this type of scenario... server { stuff [% INCLUDE thing %] } where thing has Foo Bar and end up with server { stuff foo bar } is there anyway to get it so that it is server { stuff foo bar } basically, the whitespace before an INCLUDE or PROCESS