From aea6981946652066e5f3b91fcdc87f1eceeb036d Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 1 Oct 2021 02:15:59 +0200 Subject: [PATCH] dfsfs --- files/helpers/sanitize.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/files/helpers/sanitize.py b/files/helpers/sanitize.py index 1c3189ffa..d8846fc3a 100644 --- a/files/helpers/sanitize.py +++ b/files/helpers/sanitize.py @@ -214,7 +214,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): - emojis = i.group(0).lower().replace("

", "").replace("

", "") + emojis = i.group(0).lower() for i in re.finditer('\w*(?", "").replace("

", "") for i in re.finditer('\w*(?