archive
/
md-pdf
Archived
1
Fork 0

Autoescape

This commit is contained in:
Jake Howard 2017-06-08 10:25:23 +01:00
parent 126ea6447a
commit 5e41cabdcf
1 changed files with 1 additions and 0 deletions

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=[