]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/models/comment.py
OSQA-776, limit the cache key length in the infer_cache_key method, adding a setting...
[osqa.git] / forum / models / comment.py
index b62e7b5e97e6b399498cfa40049129d63ba2bb3f..45c5962813c833244f04d1709fae5fa10a3257d6 100644 (file)
@@ -17,7 +17,7 @@ class Comment(Node):
     @property
     def comment(self):
         if settings.FORM_ALLOW_MARKDOWN_IN_COMMENTS:
-            return self.as_markdown('limitedsyntax')
+               return self.as_markdown('limitedsyntax')
         else:
             return self.body