diff --git a/files/helpers/sanitize.py b/files/helpers/sanitize.py index fe95ee2b86..6b6a5e848f 100644 --- a/files/helpers/sanitize.py +++ b/files/helpers/sanitize.py @@ -220,7 +220,7 @@ def sanitize(sanitized, noimages=False): for i in re.finditer('
:([^ ]{1,30}?):
', sanitized): emoji = i.group(1).lower() if path.isfile(f'./files/assets/images/emojis/{emoji}.webp'): - sanitized = sanitized.replace(f':{emoji}:
', f':{emoji}:
', f'