> Hello everyone,
> I'm new Pylons user and I use Mako templates. By default it seems that
> Mako is escaping HTML characters like follows in Pylons helper (${h}
> variable in template):
> template:
> ${h.link_to('FrontPage', h.url_for(action="index",
> title="FrontPage"))}
> Rendered HTML source:
> <a href="/?title=FrontPage">FrontPage</a>
> Now I *can* turn that off with:
> ${h.link_to('FrontPage', h.url_for(action="index",
> title="FrontPage"))|
> n}
> But is it possible to make it default? Is this my misconfiguration of
> Mako or a bug somewhere?
> I have Pylons 0.9.7 installed (via easy_install, with all the
> dependencies), Mako appears to be 0.2.4 (mako-0.2.4-py2.5.egg), Python
> 2.5.2 and it seems
change the default filters in your environment.py file, where Pylons