]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/models/comment.py
undo this, it's a bit redundant
[osqa.git] / forum / models / comment.py
index 45c5962813c833244f04d1709fae5fa10a3257d6..afa674f403381c658980d3420f2f2f53673e1180 100644 (file)
@@ -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