On Jan 9, 2009, at 7:02 AM, kwilliams wrote:
if you are using mako templates, you can apply the 'n' filter to turn of the 'h' filter which I think is enabled by default.For example, change this: ${h.link_to('FrontPage', h.url_for(action="index", title="FrontPage"))} to this: ${h.link_to('FrontPage', h.url_for(action="index", title="FrontPage")) | n} Check your project's config/environment.py to see how the TemplateLookup is configured. a link to mako's doc on filtering: http://www.makotemplates.org/docs/filtering.html
Alternatively, make sure you're import link_to and such from webhelpers: from webhelpers.rails.wrapped import * Will ensure they aren't double escaped in the templates. Cheers, Ben
smime.p7s
Description: S/MIME cryptographic signature
