#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):
Well I guess this change should be documented, with a transition phase
were a deprecation warning is issued upon use of 'h' or something like
that.
Else we could just add the mako's 'h' variable under a different name in
the standard tg_vars although i dislike this options. In any case it
should be in the tg2 docs that you can't use the 'h' var with mako
templates because it is overwritten. (Also it should be documented that
there is a default html-escaping filter setup, which is not the case with
vanilla mako)
--
Ticket URL: <http://trac.turbogears.org/ticket/2193#comment:2>
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
-~----------~----~----~----~------~----~------~--~---