on ajoute des sauts de ligne (suivant formatage initial)

This commit is contained in:
Jean-Marie Favreau 2023-11-11 19:38:52 +01:00
parent 43825f2801
commit fd9afa14e9
4 changed files with 4 additions and 4 deletions

View File

@ -41,7 +41,7 @@
</article>
{% endif %}
<p>{{ event.description |truncatewords:20 }}</p>
<p>{{ event.description |truncatewords:20 |linebreaks }}</p>
<footer class="infos-and-buttons">

View File

@ -35,7 +35,7 @@
</article>
{% endif %}
<p>{{ event.description |truncatewords:20 }}</p>
<p>{{ event.description |truncatewords:20 |linebreaks }}</p>
<footer class="infos-and-buttons">

View File

@ -24,7 +24,7 @@
</p>
</header>
<p>{{ event.description |truncatewords:20 }}</p>
<p>{{ event.description |truncatewords:20 |linebreaks }}</p>
<p>

View File

@ -25,7 +25,7 @@
</article>
{% endif %}
<p>{{ event.description }}</p>
<p>{{ event.description |linebreaks }}</p>
<footer class="infos-and-buttons">
<div class="infos">