From 8ae4687187c36f183caf7291b0ef2e74ae815d62 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Mon, 17 Jan 2022 19:02:07 +0200 Subject: [PATCH] b --- files/templates/comments.html | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/files/templates/comments.html b/files/templates/comments.html index 6a80b96a0c..b8d7cc3fe8 100644 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -425,7 +425,7 @@ {% else %} {% endif %} - {% else %} + {% elif c.body %} {% endif %} {% endif %} @@ -484,9 +484,9 @@ {% endif %} - {% if not (v and v.id == c.author_id) %} + {% if c.body and not (v and v.id == c.author_id) %}
- {{c.body}} + {{c.body.strip()}}
{% endif %} @@ -612,8 +612,10 @@ Mark +18 Unmark +18 {% else %} - View source - Hide source + {% if c.body %} + View source + Hide source + {% endif %} Unblock user Are you sure?