> "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
> 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
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")
> "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
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