From 136b2a52ebdd01efaeda48e0a4c00a5f1ad91847 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 1 Oct 2021 02:07:13 +0200 Subject: [PATCH] fsdfsdsf --- files/helpers/sanitize.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/files/helpers/sanitize.py b/files/helpers/sanitize.py index 9511bfc50..e78045930 100644 --- a/files/helpers/sanitize.py +++ b/files/helpers/sanitize.py @@ -218,9 +218,13 @@ def sanitize(sanitized, noimages=False): for i in re.finditer('\w*(?', emojis) + print(emojis) + break if emoji in session["favorite_emojis"]: session["favorite_emojis"][emoji] += 1 else: session["favorite_emojis"][emoji] = 1 + break emojis = emojis.replace("

", "

") print(sanitized) print('\n')