diff --git a/files/helpers/sanitize.py b/files/helpers/sanitize.py index 5257df9c42..ed1036dcfd 100644 --- a/files/helpers/sanitize.py +++ b/files/helpers/sanitize.py @@ -218,14 +218,12 @@ 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+)?)+", sanitized.replace("
", "").replace("
", ""), re.MULTILINE): - print(i) emojis = i.group(0).lower() - print(emojis) for i in re.finditer('\w*(?:{emoji}:', f'