Can't disable the autoescape in jinja2
In GAE I use jinja2 with the autoescape, and everything works well. import jinja2 jinja_env = jinja2.Environment(loader = jinja2.FileSystemLoader(template_dir), autoescape = True) In one template I don't want the autoescape, so I tried to disable it like this: {% autoescape false %} {{content}} {% endautoescape %} When it's time to render this template I get the message Encountered unknown tag 'autoescape'. hyang123 Try this: {{ content | safe}} docs: Flask — Controlling Autoescaping Jinja2 — Filters — safe In order for the autoescape tag to be recognized, you need to enable the autoescape