From e29a02bf11775ff529ee21ce1b3985872ce8dfbd Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Tue, 31 Aug 2021 23:56:14 +0200 Subject: [PATCH] fdfd --- files/helpers/sanitize.py | 2 +- files/templates/thiefs.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/files/helpers/sanitize.py b/files/helpers/sanitize.py index b8d6e8d8c..22e303922 100644 --- a/files/helpers/sanitize.py +++ b/files/helpers/sanitize.py @@ -42,7 +42,7 @@ _allowed_tags = tags = ['b', 'span', ] -noimages = ['b', +noimages = tags = ['b', 'blockquote', 'br', 'code', diff --git a/files/templates/thiefs.html b/files/templates/thiefs.html index 24d508eff..1128fe7c2 100644 --- a/files/templates/thiefs.html +++ b/files/templates/thiefs.html @@ -12,7 +12,7 @@ {% for user in successful %} - {{users.index(user)+1}} + {{successful.index(user)+1}} {{user.username}} {% endfor %} @@ -31,7 +31,7 @@ {% for user in failed %} - {{users.index(user)+1}} + {{failed.index(user)+1}} {{user.username}} {% endfor %}