]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/notifications/newcomment.html
notifications improvement, now we make sure that the username has passed through...
[osqa.git] / forum / skins / default / templates / notifications / newcomment.html
index d629f64790ac57e165297e6c49d078b7e4bcbc92..b72b86722573906a965e9a4cb04fff76b541196f 100644 (file)
@@ -9,8 +9,8 @@
     comment_author = html.mark_safe(smart_str(comment.author))
     question_title = html.mark_safe(smart_str(question.title))
     safe_body = html.html2text(smart_str(comment.comment))
     comment_author = html.mark_safe(smart_str(comment.author))
     question_title = html.mark_safe(smart_str(question.title))
     safe_body = html.html2text(smart_str(comment.comment))
-    author_link = html.objlink(smart_str(comment.author), style=settings.EMAIL_ANCHOR_STYLE)
-    question_link = html.objlink(smart_str(question), style=settings.EMAIL_ANCHOR_STYLE)
+    author_link = html.objlink(comment.author, style=settings.EMAIL_ANCHOR_STYLE)
+    question_link = html.objlink(question, style=settings.EMAIL_ANCHOR_STYLE)
 {% enddeclare %}
 
 {% email %}
 {% enddeclare %}
 
 {% email %}