You can also declare it safe HTML from code:
from flask import Markup value = Markup('<strong>The HTML String</strong>')
Then pass this value to the templates, and they should not |safe it.
Armin Ronacher Jul 16 '10 at 16:00 2010-07-16 16:00
source share