diff --git a/files/classes/comment.py b/files/classes/comment.py index 08398d06e..3ca698b0f 100644 --- a/files/classes/comment.py +++ b/files/classes/comment.py @@ -489,5 +489,5 @@ class Comment(Base): return g.db.query(CommentSaveRelationship).filter_by(comment_id=self.id).count() @lazy - def get_award_classes(self, v): + def award_classes(self, v): return get_award_classes(self, v) diff --git a/files/classes/post.py b/files/classes/post.py index ebbd4b274..63f5db7b3 100644 --- a/files/classes/post.py +++ b/files/classes/post.py @@ -375,5 +375,5 @@ class Post(Base): return g.db.query(SaveRelationship).filter_by(post_id=self.id).count() @lazy - def get_award_classes(self, v, title=False): + def award_classes(self, v, title=False): return get_award_classes(self, v, title) diff --git a/files/templates/comments.html b/files/templates/comments.html index 9629dba34..0c74da783 100644 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -243,7 +243,7 @@ {% endif %} {% set realbody = c.realbody(v) %} -
+
{{realbody | safe}}
diff --git a/files/templates/post.html b/files/templates/post.html index b40623144..848c0dba6 100644 --- a/files/templates/post.html +++ b/files/templates/post.html @@ -95,7 +95,7 @@ {{macros.reports(p, 'post')}} -

+

{% if p.realurl(v) and not v_forbid_deleted %} {% if p.flair %}{{p.flair | safe}}{% endif %} @@ -143,7 +143,7 @@ {% endif %} {% endif %} -
+
{% if p.is_image %}
diff --git a/files/templates/post_listing.html b/files/templates/post_listing.html index 166b3e2b0..a023899ea 100644 --- a/files/templates/post_listing.html +++ b/files/templates/post_listing.html @@ -208,7 +208,7 @@ {% if not v_forbid_deleted %} {% if p.realbody(v) %} -
+
{{p.realbody(v) | safe}}
{% endif %}