Allow markdown in multiple-choice question options

This commit is contained in:
Raphael Michel
2020-03-23 17:17:36 +01:00
parent 8986db0975
commit 11b2bd8887
4 changed files with 13 additions and 1 deletions

View File

@@ -3,6 +3,7 @@
{% load bootstrap3 %}
{% load eventurl %}
{% load money %}
{% load rich_text %}
{% load safelink %}
{% load eventsignal %}
{% block title %}
@@ -377,6 +378,8 @@
<img src="{{ q.answer.backend_file_url }}?token={% answer_token request q.answer %}">
</a>
{% endif %}
{% elif q.type == "M" %}
{{ q.answer|rich_text_snippet }}
{% else %}
{{ q.answer|linebreaksbr }}
{% endif %}