diff --git a/src/snapshots/client.py b/src/snapshots/client.py index 31202f7..e9c8e19 100644 --- a/src/snapshots/client.py +++ b/src/snapshots/client.py @@ -286,7 +286,7 @@ class SnapshotCamera: package_path="templates", ), extensions=["jinja2.ext.i18n"], - autoescape=select_autoescape(), + autoescape=True, trim_blocks=True, lstrip_blocks=True, ) diff --git a/src/snapshots/templates/article-template.html.j2 b/src/snapshots/templates/article-template.html.j2 index 0da5665..5f102c5 100644 --- a/src/snapshots/templates/article-template.html.j2 +++ b/src/snapshots/templates/article-template.html.j2 @@ -24,7 +24,7 @@ {% endif %}