🐛 fix: remove unnecessary description filters

It caused issues if description contained double quotes.
This commit is contained in:
welpo
2023-10-23 02:11:57 +02:00
parent 01d5322ef3
commit 6673a063b8
3 changed files with 6 additions and 6 deletions

View File

@@ -34,7 +34,7 @@
<div class="description">
{% if post.description %}
<p>{{ post.description | striptags | safe }}</p>
<p>{{ post.description }}</p>
{% elif post.summary %}
<p>{{ post.summary | striptags | safe | trim_end_matches(pat=".") }}…</p>
{% endif %}