fix showmore button

pull/222/head
Aevann 2024-02-12 17:10:11 +02:00
parent ce6d4da592
commit d6067ce080
1 changed files with 1 additions and 1 deletions

View File

@ -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()