diff --git a/files/helpers/sanitize.py b/files/helpers/sanitize.py
index 5c11581d6..fba6aa992 100644
--- a/files/helpers/sanitize.py
+++ b/files/helpers/sanitize.py
@@ -173,15 +173,11 @@ def sanitize(sanitized, alert=False, comment=False, edit=False):
sanitized = sub_regex.sub(r'\1/\2', sanitized)
- captured = []
for i in mention_regex.finditer(sanitized):
- if i.group(0) in captured: continue
- captured.append(i.group(0))
-
u = get_user(i.group(2), graceful=True)
if u and (not (g.v and g.v.any_block_exists(u)) or g.v.admin_level > 1):
- sanitized = sanitized.replace(i.group(0), f'''{i.group(1)}
@{u.username}''')
+ sanitized = sanitized.replace(i.group(0), f'''{i.group(1)}
@{u.username}''', 1)
sanitized = imgur_regex.sub(r'\1_d.webp?maxwidth=9999&fidelity=high', sanitized)