diff --git a/files/helpers/sanitize.py b/files/helpers/sanitize.py index a593b1bb22..4a77f35dda 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 = re.sub(f':{emoji}:
', f':{emoji}:
', f'