From 3a910f6b7e6b2dfee23eeb7698a668524bac081b Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 1 Oct 2021 01:57:24 +0200 Subject: [PATCH] fsdfs --- 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 1c054761f..62d99f13c 100644 --- a/files/helpers/sanitize.py +++ b/files/helpers/sanitize.py @@ -213,7 +213,7 @@ def sanitize(sanitized, noimages=False): if start in sanitized and end in sanitized and start in sanitized.split(end)[0] and end in sanitized.split(start)[1]: sanitized = sanitized.replace(start, '').replace(end, '') - for i in re.finditer("

\s*((:\w+:)\s*)+<\/p>", sanitized.replace("

", "").replace("

", "")): + for i in re.finditer("

\s*((:\w+:)\s*)+<\/p>", sanitized): emojis = i.group(0).lower() for i in re.finditer('\w*(?