X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/7fb43328b198f5b5dc7f829b2facf9e25704e8e6..f092d2a066bd98474491e85f3661b9b5d76ebd16:/forum/models/comment.py diff --git a/forum/models/comment.py b/forum/models/comment.py index 45c5962..afa674f 100644 --- a/forum/models/comment.py +++ b/forum/models/comment.py @@ -16,8 +16,11 @@ class Comment(Node): @property def comment(self): + return self._comment() + + def _comment(self): if settings.FORM_ALLOW_MARKDOWN_IN_COMMENTS: - return self.as_markdown('limitedsyntax') + return self.as_markdown('limitedsyntax') else: return self.body