diff --git a/files/helpers/sanitize.py b/files/helpers/sanitize.py index c7b06a318..7fd2e6937 100644 --- a/files/helpers/sanitize.py +++ b/files/helpers/sanitize.py @@ -180,7 +180,7 @@ def sanitize(text, linkgen=False, flair=False): for i in re.finditer('
:(.{1,30}?):
', sanitized): if path.isfile(f'./files/assets/images/emojis/{i.group(1)}.gif'): - sanitized = sanitized.replace(f':{i.group(1)}:
', f':{i.group(1)}:
', f'')
if flair: emojisize = 20
else: emojisize = 30