From fc6862188c583037ae1541f52c30c221599e1f99 Mon Sep 17 00:00:00 2001 From: Aevann Date: Mon, 14 Aug 2023 22:08:37 +0300 Subject: [PATCH] Revert "remove
and from acceptaed tags bc of this https://rdrama.net/post/196663" This reverts commit 2c3f7f291f4e758db6fe904cdac19f4eb070fbc1. --- 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 219bc8e01..39d1429df 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','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_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']