I think the point of a template is that it {{.}} is turned into code but
stuff outside is left unchanged. I'd rather leave this as it is. But thanks
for brining this up.
On Wednesday, 11 July 2012 13:33:44 UTC-5, Rob wrote:
>
> Thanks Massimo.
>
> That prints out:
>hihihi
>
>
> If you chang
Updated patch - I haven't been able to break it. I'm posting this in case
someone else finds it useful - it's a very small patch.
This basically looks for {{...}} and strips the white space around it (up
to an including a new line) ignoring everything else. The output from
render() now looks
Thanks Massimo.
That prints out:
hihihi
If you change it to:
{{for d in data[:3]:
= "hi\n"
pass}}
It prints out (spacing gets messed up):
hi
hi
hi
Anyway, you probably aren't interested in a patch (see attached), but this
patch has been working pretty good for me wh
3 matches
Mail list logo