{{ net_param('gateway', net_gw) }}{{ "\n" -}}
On Tuesday, October 23, 2012 4:57:44 AM UTC-7, Jānis Ģeņģeris wrote:
>
> Your suggestion gives this output: http://pastebin.com/9ixeagYG
>
> I think, I'll give up on this, takes too much time ;>. Thanks.
>
> On Tuesday, October 23, 2012 2:02:43 PM UTC+3, Simon Sapin wrote:
>>
>> Le 23/10/2012 12:30, Jānis Ģeņģeris a écrit :
>> > Yes, I have red that, but have no clue how to fix my problem. If I add
>> > minus signs inside the variable braces, then everything goes on single
>> > line, which is not good at all.
>>
>> Remember that without the "minus" trick, any whitespace is kept. In this
>> case, it’s not the whitespace inside the macro definition but around the
>> call.
>>
>> Try adding a minus on both calls:
>>
>> {{- net_param(...
>>
>> And removing this one in the macro:
>>
>> if value %}
>>
>> --
>> Simon Sapin
>>
>
--
You received this message because you are subscribed to the Google Groups
"pocoo-libs" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/pocoo-libs/-/dk9QCJ7Def4J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/pocoo-libs?hl=en.