From 540107ff82f9069ccbe0cb2d747cce94876e0e94 Mon Sep 17 00:00:00 2001 From: Aevann Date: Mon, 5 Feb 2024 10:04:17 +0200 Subject: [PATCH] add .gl to supported TLDs --- 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 71c27e7c0..2f53894b5 100644 --- a/files/helpers/sanitize.py +++ b/files/helpers/sanitize.py @@ -32,7 +32,7 @@ from files.helpers.sharpen import * from files.helpers.queenify import * -allowed_tags = ('a','audio','b','big','blink','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','blink','blockquote','br','center','code','del','details','em','g','gl','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', 'transform']