X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/fac2bf37e4b1032efe670d5f63d126ff9faa6f88..01e93f28b2829fd3924a3b6021a201c1b6ed3d72:/forum/models/comment.py diff --git a/forum/models/comment.py b/forum/models/comment.py index 32fdf5d..45c5962 100644 --- a/forum/models/comment.py +++ b/forum/models/comment.py @@ -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