From 520f2e32f07cf7ac0ad8829c9085a7932f5656c5 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sun, 17 Apr 2022 01:00:32 +0200 Subject: [PATCH] fsd --- 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 42a1a0ff71..d869316b33 100644 --- a/files/helpers/sanitize.py +++ b/files/helpers/sanitize.py @@ -250,7 +250,7 @@ def sanitize(sanitized, noimages=False, alert=False, comment=False, edit=False): attributes=allowed_attributes, protocols=['http', 'https'], styles=['color', 'background-color', 'font-weight', 'text-align'], - filters=[partial(LinkifyFilter,skip_tags=["pre"],parse_email=False, callbacks=[callback])] + filters=[partial(LinkifyFilter, skip_tags=["pre"], parse_email=False, callbacks=[callback])] ).clean(sanitized)