summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorPrabhu Ramachandran2011-11-22 01:01:11 +0530
committerPrabhu Ramachandran2011-11-22 01:01:11 +0530
commitba2097a382b581dacced5cb9bd70087396a054f0 (patch)
tree5de8dc7caf92c63a81f9153d1f7bda7f95242193 /templates
parentab56c25d59a057c7b3cf811223808ce922a4750d (diff)
downloadonline_test-ba2097a382b581dacced5cb9bd70087396a054f0.tar.gz
online_test-ba2097a382b581dacced5cb9bd70087396a054f0.tar.bz2
online_test-ba2097a382b581dacced5cb9bd70087396a054f0.zip
ENH: The question description should be valid HTML
This allows us to render code nicely and format the question nicely. Modified the question template suitably.
Diffstat (limited to 'templates')
-rw-r--r--templates/exam/question.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/exam/question.html b/templates/exam/question.html
index dec476e..f4d3f67 100644
--- a/templates/exam/question.html
+++ b/templates/exam/question.html
@@ -50,7 +50,7 @@ function update_time()
{% block content %}
<h3> {{ question.summary }} </h3>
-<p>{{ question.description }}
+<p>{{ question.description|safe }}
<br/>
(Marks: {{ question.points }}) </p>