summaryrefslogtreecommitdiff
path: root/yaksh/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'yaksh/views.py')
-rw-r--r--yaksh/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yaksh/views.py b/yaksh/views.py
index 32b4545..d9d2d61 100644
--- a/yaksh/views.py
+++ b/yaksh/views.py
@@ -392,7 +392,7 @@ def show_question(request, question, paper, error_message=None):
answers = paper.get_previous_answers(question)
if answers:
- last_attempt = "{}\n{}".format(question.snippet, answers[0].answer)
+ last_attempt = answers[0].answer
context['last_attempt'] = last_attempt.encode('unicode-escape')
# context['last_attempt'] = answers[0].answer.encode('unicode-escape')
ci = RequestContext(request)