master
Aevann1 2021-08-24 06:38:26 +02:00
parent b0cc46e04e
commit f94ff8cb9e
2 changed files with 1 additions and 3 deletions

View File

@ -81,8 +81,6 @@ def post_id(pid, anything=None, v=None):
post = get_post(pid, v=v)
if v and v.id == 1: print(post.realbody(v))
if v:
votes = g.db.query(CommentVote).filter_by(user_id=v.id).subquery()

View File

@ -312,7 +312,7 @@
{% endif %}
{% endif %}
{% if p.realbody(v) != None %}
{% if len(p.realbody(v)) > 0 %}
<div id="post-text" style="z-index: 50">
{{p.realbody(v) | safe}}
</div>