diff --git a/files/templates/admin/shadowbanned.html b/files/templates/admin/shadowbanned.html index 9af91f3f8..3bab313db 100644 --- a/files/templates/admin/shadowbanned.html +++ b/files/templates/admin/shadowbanned.html @@ -22,7 +22,7 @@ {{user.truescore}} {{user.shadowbanner}} - {% if user.ban_reason %}{{user.ban_reason}}{% endif %} + {% if user.ban_reason %}{{user.ban_reason | safe}}{% else %}No reason{% endif %} {% endfor %} diff --git a/files/templates/banned.html b/files/templates/banned.html index 10b1f1fe6..7cc5735ce 100644 --- a/files/templates/banned.html +++ b/files/templates/banned.html @@ -25,7 +25,7 @@ {%- endif %} {{user.truescore}} - {% if user.ban_reason %}{{user.ban_reason}}{% endif %} + {% if user.ban_reason %}{{user.ban_reason | safe}}{% else %}No reason{% endif %} {% with user=user.banned_by %} {% include "user_in_table.html" %}