From b2dca3218162f3f52b3a32ca414f71711618fe03 Mon Sep 17 00:00:00 2001 From: Aevann Date: Sat, 28 Oct 2023 22:21:24 +0300 Subject: [PATCH] add support --- files/assets/css/main.css | 11 +++++++++++ files/helpers/sanitize.py | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/files/assets/css/main.css b/files/assets/css/main.css index 1521883f5..070f39d80 100644 --- a/files/assets/css/main.css +++ b/files/assets/css/main.css @@ -7571,3 +7571,14 @@ ul { tr:has(hideme) { display: none } +@keyframes blink { + 0% { + opacity: 1; + } + 50% { + opacity: 0; + } +} +blink { + animation: blink 1s infinite; +} diff --git a/files/helpers/sanitize.py b/files/helpers/sanitize.py index 0d21280ae..891857a23 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','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','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']