On Fri, Jun 15, 2012 at 7:16 AM, Mark Haase <[email protected]> wrote:
> My question: is it possible for my foo filter to indicate that it's output
> is already safe, so that it is not necessary to add the safe filter
> explicitly?

Try having the filter return a Markup object or an object with an
__html__ method.

http://jinja.pocoo.org/docs/api/#jinja2.Markup

-- 
You received this message because you are subscribed to the Google Groups 
"pocoo-libs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pocoo-libs?hl=en.

Reply via email to