add trim
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Simon Vieille 2023-01-05 20:24:36 +01:00
parent bd414bac7e
commit 87f56cb3bd
Signed by: deblan
GPG key ID: 579388D585F70417

View file

@ -38,5 +38,5 @@
{% set content = content|striptags[:summarySize] %}
<p>{{ content }}{% if content|length >= summarySize %}{% endif %}</p>
<p>{{- content -}}{% if content|length >= summarySize %}{% endif %}</p>
</div>