add <blink> support

pull/216/head
Aevann 2023-10-28 22:21:24 +03:00
parent b220c38587
commit b2dca32181
2 changed files with 12 additions and 1 deletions

View File

@ -7571,3 +7571,14 @@ ul {
tr:has(hideme) {
display: none
}
@keyframes blink {
0% {
opacity: 1;
}
50% {
opacity: 0;
}
}
blink {
animation: blink 1s infinite;
}

View File

@ -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']