From 50b1ed8aa047534d067f1f11c5ae63a1ad6b2091 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sun, 15 May 2022 10:45:57 +0200 Subject: [PATCH] fds --- files/helpers/sanitize.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/files/helpers/sanitize.py b/files/helpers/sanitize.py index e728be6ac..da5067bbd 100644 --- a/files/helpers/sanitize.py +++ b/files/helpers/sanitize.py @@ -252,7 +252,8 @@ def sanitize(sanitized, alert=False, comment=False, edit=False): if '#factcheck' in sanitized: sanitized = sanitized.replace('#factcheck', '') sanitized += '\n\n

' + choice(FACTCHECK_REPLIES) + '

' - + + sanitized = sanitized.replace('

', '') sanitized = sanitized.replace('&','&') sanitized = utm_regex.sub('', sanitized) sanitized = utm_regex2.sub('', sanitized)