fix: correct autoescaping of html entities
This commit is contained in:
parent
1a5e3a2aba
commit
a939032ebc
2 changed files with 3 additions and 3 deletions
|
|
@ -286,7 +286,7 @@ class SnapshotCamera:
|
|||
package_path="templates",
|
||||
),
|
||||
extensions=["jinja2.ext.i18n"],
|
||||
autoescape=select_autoescape(),
|
||||
autoescape=True,
|
||||
trim_blocks=True,
|
||||
lstrip_blocks=True,
|
||||
)
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@
|
|||
<link rel="icon" href="{{ site_favicon }}" />
|
||||
{% endif %}
|
||||
<style>
|
||||
{{ article_css() }}
|
||||
{{ article_css() | safe }}
|
||||
</style>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
|
@ -124,7 +124,7 @@
|
|||
</figure>
|
||||
{% endif %}
|
||||
<div class="snap-content">
|
||||
{{ article_body }}
|
||||
{{ article_body | safe }}
|
||||
{% if article_mirror_url %}
|
||||
<p>
|
||||
<a href="{{ article_mirror_url }}" class="snap-footer-link snap-link--mirror">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue