#2193: Mako 'h' filter is mangled by turbogears default template variables
------------------------+---------------------------------------------------
Reporter: kikidonk | Owner: faide
Type: defect | Status: new
Priority: normal | Milestone: 2.0b6
Component: TurboGears | Version: trunk
Severity: normal | Resolution:
Keywords: |
------------------------+---------------------------------------------------
Comment (by kikidonk):
Replying to [comment:3 jorge.vargas]:
> > (Also it should be documented that there is a default html-escaping
filter setup, which is not the case with vanilla mako)
>
> agreed, but this is in place to assume you are rendering a webpage.
Right so that's another bug i'd say ? Imagine I wanted to render a plain-
text template for inclusion in an email using mako. Currently if i just
use the tg.render function, the fields will be html-escaped which doesn't
make sense in a text-template ?
Should I open a new bug for that ?
--
Ticket URL: <http://trac.turbogears.org/ticket/2193#comment:4>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "TurboGears Tickets" group.
This group is read-only. No posting by normal members allowed.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---