Autoescape
This commit is contained in:
parent
126ea6447a
commit
5e41cabdcf
1 changed files with 1 additions and 0 deletions
|
@ -3,6 +3,7 @@ from jinja2 import Environment
|
|||
|
||||
def render_content(content, context):
|
||||
env = Environment(
|
||||
autoescape=True,
|
||||
trim_blocks=True,
|
||||
lstrip_blocks=True,
|
||||
extensions=[
|
||||
|
|
Reference in a new issue