Skip to content

Commit

Permalink
fix jinja2 autoescape argument
Browse files Browse the repository at this point in the history
  • Loading branch information
djbrown committed Sep 2, 2022
1 parent b663ef8 commit 3f26552
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hbscorez/jinja2_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@


def environment(**options):
options.setdefault("autoescape", True)
options["autoescape"] = True
env = Environment(trim_blocks=True, lstrip_blocks=True, **options)
env.globals.update({
'static': staticfiles_storage.url,
Expand Down

0 comments on commit 3f26552

Please sign in to comment.