From b95b401d7e0dc5bb8114fe84bbb630b02ea2db98 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Mon, 17 Jan 2022 13:51:03 +0200 Subject: [PATCH] bbb --- files/helpers/sanitize.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/helpers/sanitize.py b/files/helpers/sanitize.py index 6cc40ea5d..ae260232f 100644 --- a/files/helpers/sanitize.py +++ b/files/helpers/sanitize.py @@ -113,7 +113,7 @@ def sanitize(sanitized, noimages=False, alert=False, comment=False): else: sanitized = re.sub('(^|\s|\n|

)\/?((r|u)\/\w{3,25})', r'\1\2', sanitized) - for i in re.finditer('(^|\s|\n|

)@((\w|-){1,25})($|\s|\n|<\\p>)', sanitized): + for i in re.finditer('(^|\s|\n|

)@((\w|-){1,25})($|\s|\n|

)', sanitized): u = get_user(i.group(2), graceful=True) if u and (not g.v.any_block_exists(u) or g.v.admin_level > 1):