Autoescape

This commit is contained in:
Jake Howard 2017-06-08 10:25:23 +01:00
parent 126ea6447a
commit 5e41cabdcf

View file

@ -3,6 +3,7 @@ from jinja2 import Environment
def render_content(content, context):
env = Environment(
autoescape=True,
trim_blocks=True,
lstrip_blocks=True,
extensions=[