From d6067ce0803b3f5351ff04933e5cbd96d1a7f84b Mon Sep 17 00:00:00 2001 From: Aevann Date: Mon, 12 Feb 2024 17:10:11 +0200 Subject: [PATCH] fix showmore button --- 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 2121b47ec..7b8a314d0 100644 --- a/files/helpers/sanitize.py +++ b/files/helpers/sanitize.py @@ -599,7 +599,7 @@ def sanitize(sanitized, golden=True, limit_pings=0, showmore=False, count_emojis if sanitized.count("blur(") + sanitized.count("drop-shadow(") > allowed_count: return error("Max 5 usages of 'blur' and 'drop-shadow'!") - sanitized = bleach_body_html(sanitized) + sanitized = bleach_body_html(sanitized, runtime=True) return sanitized.strip()