summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/exam/grade_user.html6
-rw-r--r--templates/exam/user_data.html6
2 files changed, 6 insertions, 6 deletions
diff --git a/templates/exam/grade_user.html b/templates/exam/grade_user.html
index 2a109af..75ed2e0 100644
--- a/templates/exam/grade_user.html
+++ b/templates/exam/grade_user.html
@@ -43,12 +43,12 @@ Start time: {{ paper.start_time }} <br/>
<p> Choices:
{% for option in question.options.strip.splitlines %} {{option}}, {% endfor %}
</p>
-<p>Student answer: {{ answers.0|safe }}</p>
+<p>Student answer: {{ answers.0 }}</p>
{% else %}{# non-mcq questions #}
<pre>
{% for answer in answers %}################################################################################
-{{ answer.answer.strip|safe }}
-# Autocheck: {{ answer.error|safe }}
+{{ answer.answer.strip }}
+# Autocheck: {{ answer.error }}
{% endfor %}</pre>
{% endif %} {# if question.type #}
{% with answers|last as answer %}
diff --git a/templates/exam/user_data.html b/templates/exam/user_data.html
index 77de5ce..9fb442a 100644
--- a/templates/exam/user_data.html
+++ b/templates/exam/user_data.html
@@ -45,12 +45,12 @@ User IP address: {{ paper.user_ip }}
<p> Choices:
{% for option in question.options.strip.splitlines %} {{option}}, {% endfor %}
</p>
-<p>Student answer: {{ answers.0|safe }}</p>
+<p>Student answer: {{ answers.0 }}</p>
{% else %}{# non-mcq questions #}
<pre>
{% for answer in answers %}################################################################################
-{{ answer.answer.strip|safe }}
-# Autocheck: {{ answer.error|safe }}
+{{ answer.answer.strip }}
+# Autocheck: {{ answer.error }}
{% endfor %}</pre>
{% endif %}
{% with answers|last as answer %}