X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/7fb43328b198f5b5dc7f829b2facf9e25704e8e6..cc041eef8cd45e535ba702e46822d10f6939bfc5:/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