From 261f8eb2a0135383eb095c4a95f1ddbda80e422d Mon Sep 17 00:00:00 2001 From: George Katsikas <giorgakis.katsikas@gmail.com> Date: Thu, 14 Dec 2023 12:30:42 +0100 Subject: [PATCH] use automarkup for nomination decision comments --- .../colleges/templates/colleges/_voting_round_decision.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scipost_django/colleges/templates/colleges/_voting_round_decision.html b/scipost_django/colleges/templates/colleges/_voting_round_decision.html index 7b0dfad8f..23140eed9 100644 --- a/scipost_django/colleges/templates/colleges/_voting_round_decision.html +++ b/scipost_django/colleges/templates/colleges/_voting_round_decision.html @@ -1,3 +1,5 @@ +{% load automarkup %} + <div> <h3>Decision</h3> @@ -11,7 +13,7 @@ {% if voting_round.decision.comments %} <h4 class="mt-2">Decision comments</h4> - <span>{{ voting_round.decision.comments }}</span> + <span>{% automarkup voting_round.decision.comments %}</span> {% endif %} </div> -- GitLab