From fd9afa14e9ff72b31f378799ff6bcb0b3e00dc39 Mon Sep 17 00:00:00 2001 From: Jean-Marie Favreau Date: Sat, 11 Nov 2023 19:38:52 +0100 Subject: [PATCH] on ajoute des sauts de ligne (suivant formatage initial) --- .../agenda_culturel/single-event/event-in-list-by-day-inc.html | 2 +- .../agenda_culturel/single-event/event-in-list-inc.html | 2 +- .../templates/agenda_culturel/single-event/event-modal-inc.html | 2 +- .../agenda_culturel/single-event/event-single-inc.html | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/agenda_culturel/templates/agenda_culturel/single-event/event-in-list-by-day-inc.html b/src/agenda_culturel/templates/agenda_culturel/single-event/event-in-list-by-day-inc.html index 4ac47d3..2a8b780 100644 --- a/src/agenda_culturel/templates/agenda_culturel/single-event/event-in-list-by-day-inc.html +++ b/src/agenda_culturel/templates/agenda_culturel/single-event/event-in-list-by-day-inc.html @@ -41,7 +41,7 @@ {% endif %} -

{{ event.description |truncatewords:20 }}

+

{{ event.description |truncatewords:20 |linebreaks }}