From c76b6faa4f45a632c76f38bdb963b9f76b09402e Mon Sep 17 00:00:00 2001 From: Julian Rother <julianr@fsmpi.rwth-aachen.de> Date: Sat, 15 Oct 2016 22:40:15 +0200 Subject: [PATCH] Allow html code in speaker field of preview macro (#147) --- templates/macros.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/macros.html b/templates/macros.html index 8b4a7ea..5e5e0ec 100644 --- a/templates/macros.html +++ b/templates/macros.html @@ -8,7 +8,7 @@ <span>{% if ismod() %}ID: {{lecture.id}}{% endif %}</span><br> <span>{{ lecture['time'] }}</span> {% if lecture['speaker'] %} - <div class="small">Gehalten von {{ lecture['speaker'] }} </div> + <div class="small">Gehalten von {{ lecture['speaker']|safe }} </div> {% endif %} </div> <div class="col-xs-4"> -- GitLab