diff --git a/files/templates/userpage.html b/files/templates/userpage.html
index 66b9504cc7..8c5c7cbe54 100644
--- a/files/templates/userpage.html
+++ b/files/templates/userpage.html
@@ -45,7 +45,7 @@
{% if u.is_suspended %}
{% if u.unban_utc %}>{{u.unban_string}}
{% endif %}
@@ -368,7 +368,7 @@
{% if u.is_suspended %}
-
BANNED USER{% if u.ban_reason %}: {{u.ban_reason}}{% endif %}
+ BANNED USER{% if u.ban_reason %}: {{u.ban_reason | SAFE}}{% endif %}
{% if u.unban_utc %}>{{u.unban_string}}
{% endif %}
{% endif %}