From ba2097a382b581dacced5cb9bd70087396a054f0 Mon Sep 17 00:00:00 2001 From: Prabhu Ramachandran Date: Tue, 22 Nov 2011 01:01:11 +0530 Subject: 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. --- templates/exam/question.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates') 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 %}
{{ question.description }} +
{{ question.description|safe }}
(Marks: {{ question.points }})