From d36ba1a422a8f2944c32b473bd858acbd26358b3 Mon Sep 17 00:00:00 2001 From: Aevann Date: Tue, 1 Aug 2023 02:28:07 +0300 Subject: [PATCH] allow tag --- 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 71424df5b..2ae943436 100644 --- a/files/helpers/sanitize.py +++ b/files/helpers/sanitize.py @@ -49,7 +49,7 @@ TLDS = ( # Original gTLDs and ccTLDs 'red','city','quest','works' ) -allowed_tags = ('a','audio','b','blockquote','br','center','code','del','details','em','g','h1','h2','h3','h4','h5','h6','hr','i','img','li','lite-youtube','marquee','ol','p','pre','rp','rt','ruby','small','span','spoiler','strike','strong','sub','summary','sup','table','tbody','td','th','thead','tr','u','ul','video') +allowed_tags = ('a','audio','b','big','blockquote','br','center','code','del','details','em','g','h1','h2','h3','h4','h5','h6','hr','i','img','li','lite-youtube','marquee','ol','p','pre','rp','rt','ruby','small','span','spoiler','strike','strong','sub','summary','sup','table','tbody','td','th','thead','tr','u','ul','video') allowed_styles = ['background-color', 'color', 'filter', 'font-weight', 'text-align']