🐛 fix: allow quotation in page summary

Quotation marks were being escaped, as the `safe` filter was not being used.
This commit is contained in:
welpo
2024-05-30 14:12:44 +02:00
parent f5f195c90c
commit 22925caf06
3 changed files with 4 additions and 4 deletions

View File

@@ -69,7 +69,7 @@
<content type="html">{{ page.content }}</content>
{% endif -%}
{% if page.summary -%}
<summary type="html">{{ page.summary | striptags | safe | trim_end_matches(pat=".") }}…</summary>
<summary type="html">{{ page.summary | striptags | trim_end_matches(pat=".") | safe }}…</summary>
{% elif page.description -%}
<summary type="html">{{ page.description }}</summary>
{% endif -%}