diff --git a/files/helpers/sanitize.py b/files/helpers/sanitize.py index 7674a0625..a2b801a81 100644 --- a/files/helpers/sanitize.py +++ b/files/helpers/sanitize.py @@ -218,6 +218,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.findall("^(\s+)?((:[\w]+:)+(\s+)?)+", sanitized.replace("

", "").replace("

", ""), re.MULTILINE): + print(emojis) emojis = i.lower() for i in re.finditer('\w*(?