From 4bb89033f876e717162e33347aea2836c62bc51a Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Tue, 5 Oct 2021 22:59:24 +0200 Subject: [PATCH] dfs --- files/helpers/sanitize.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/helpers/sanitize.py b/files/helpers/sanitize.py index 3c8089a5f..a81baf3db 100644 --- a/files/helpers/sanitize.py +++ b/files/helpers/sanitize.py @@ -245,7 +245,7 @@ def sanitize(sanitized, noimages=False): remoji = emoji if path.isfile(f'./files/assets/images/emojis/{remoji}.webp'): - sanitized = re.sub(f'\w*(?', sanitized) + sanitized = re.sub(f'\w*(? style', sanitized) if remoji in session["favorite_emojis"]: session["favorite_emojis"][remoji] += 1 else: session["favorite_emojis"][remoji] = 1