From 7b37b0dfec90583fc4b88b41d92eb4c2639d4f5d Mon Sep 17 00:00:00 2001 From: Magnus Hagander Date: Sun, 30 Aug 2020 17:29:30 +0200 Subject: [PATCH] Strip html tags in event archive We were already doing this for news, but for some reason neglected to do so for events, which made for some pretty messed up formatting in the archives now and then. We should treat news and events the same... --- templates/events/archive.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/events/archive.html b/templates/events/archive.html index 6cd046b7..7332d592 100644 --- a/templates/events/archive.html +++ b/templates/events/archive.html @@ -25,7 +25,7 @@ whatsoever.
Location: {{event.locationstring}}
{%if event.language%}
Language: {{event.language}}
{%endif%}
-{{event.summary|markdown:"safe"}} +{{event.summary|markdown:"safe"|striptags}}
{%endfor%} {%if not archive%} -- 2.39.5