diff --git a/files/helpers/sanitize.py b/files/helpers/sanitize.py index c0d64c790..8326d0e44 100644 --- a/files/helpers/sanitize.py +++ b/files/helpers/sanitize.py @@ -214,6 +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): + print(i.group(0)) emojis = i.group(0).lower().replace("
", "").replace("
", "") for i in re.finditer('\w*(?