On Sep 7, 2008, at 5:55 PM, eleith wrote:
in 0.9.6, i was able to have to call render twice, for example:c.section = render('section.mako') render('page.mako')
You need to indicate that c.section is already properly escaped, to do this, wrap it in a literal:
from webhelpers.html import literal
c.section = literal(render('section.mako'))
This way it won't be escaped again in the next render. Though really,
the render function *Should* be a literal to begin with. I've fixed
this in trunk, I'd suggest replacing your render function with one
that just wraps its output in literal until RC2 is out (in the next
few days).
Cheers, Ben
smime.p7s
Description: S/MIME cryptographic signature
