]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/models/comment.py
reverting the changes made in commit #1097 for Jira OSQA-593, it resulted another...
[osqa.git] / forum / models / comment.py
index 32fdf5dfe3596c91858e424b262548ac635023b2..45c5962813c833244f04d1709fae5fa10a3257d6 100644 (file)
@@ -17,8 +17,7 @@ class Comment(Node):
     @property
     def comment(self):
         if settings.FORM_ALLOW_MARKDOWN_IN_COMMENTS:
-           # Avoid doing double replacement of backslashes
-            return self._as_markdown_raw(self.body,'limitedsyntax')
+               return self.as_markdown('limitedsyntax')
         else:
             return self.body