From ab03ad081a4e892f4e954c004f50b11038a0ca35 Mon Sep 17 00:00:00 2001 From: FreneticScribbler Date: Thu, 24 Feb 2022 20:20:57 +0000 Subject: [PATCH] Markdownify event description in tables TODO: Restrict max size of headers so they can't go larger than other elements in the table. --- RIGS/templates/partials/event_table.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/RIGS/templates/partials/event_table.html b/RIGS/templates/partials/event_table.html index 324501f6..4262b58b 100644 --- a/RIGS/templates/partials/event_table.html +++ b/RIGS/templates/partials/event_table.html @@ -1,4 +1,5 @@ {% load namewithnotes from filters %} +{% load markdown_tags %}
@@ -74,7 +75,7 @@ {% endif %} {% if not event.cancelled and event.description %} -

{{ event.description|linebreaksbr }}

+

{{ event.description|markdown }}

{% endif %} {% include 'partials/event_status.html' %}