]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/notifications/answeraccepted.html
Add replacement for the markdown filter (removed in Django 1.6)
[osqa.git] / forum / skins / default / templates / notifications / answeraccepted.html
index 4ce25a7d59d782c5ee7472b0901f6f1c23666c14..5157bd0addbac8e92d2aa775bac33d8ae50f7992 100644 (file)
@@ -3,7 +3,7 @@
 {% declare %}
     prefix = html.mark_safe(smart_str(settings.EMAIL_SUBJECT_PREFIX))
     answer_author = html.mark_safe(smart_str(answer.author.username))
-    question = smart_str(answer.question)
+    question = answer.question
     question_title = html.mark_safe(smart_str(question.title))
     accepted_by = html.mark_safe(smart_str(answer.nstate.accepted.by.username))
     accepted_by_link = html.objlink(answer.nstate.accepted.by, style=settings.EMAIL_ANCHOR_STYLE)