From 2c3f7f291f4e758db6fe904cdac19f4eb070fbc1 Mon Sep 17 00:00:00 2001 From: Aevann Date: Mon, 14 Aug 2023 20:47:33 +0300 Subject: [PATCH] remove
and from acceptaed tags bc of this https://rdrama.net/post/196663 --- 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 39d1429df..219bc8e01 100644 --- a/files/helpers/sanitize.py +++ b/files/helpers/sanitize.py @@ -50,7 +50,7 @@ TLDS = ( # Original gTLDs and ccTLDs 'red','city','quest','works' ) -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_tags = ('a','audio','b','big','blockquote','br','center','code','del','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','sup','table','tbody','td','th','thead','tr','u','ul','video') allowed_styles = ['background-color', 'color', 'filter', 'font-weight', 'text-align']