From f68cad922d65844f617959c76072d7ab3ffd6265 Mon Sep 17 00:00:00 2001 From: Aevann Date: Sat, 29 Jul 2023 01:19:16 +0300 Subject: [PATCH] allow
and https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/4170104#context --- 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 bc9cf5053..7be3abf4f 100644 --- a/files/helpers/sanitize.py +++ b/files/helpers/sanitize.py @@ -54,7 +54,7 @@ allowed_tags = ( 'b','blockquote','br','code','del','em','h1','h2','h3','h4','h5','h6','hr','i', 'li','ol','p','pre','strong','sub','sup','table','tbody','th','thead','td','tr','ul', 'marquee','a','span','ruby','rp','rt','spoiler','img','lite-youtube','video','audio','g','u','small', - 'strike','center', + 'strike','center','details','summary', ) allowed_styles = ['color', 'background-color', 'font-weight', 'text-align']