Update validators.py

This commit is contained in:
shamoon 2025-12-12 09:27:19 -08:00
parent 332136df8b
commit a9c73e2846
No known key found for this signature in database

View file

@ -21,6 +21,7 @@ ALLOWED_SVG_TAGS: set[str] = {
"use",
"title",
"desc",
"style",
}
ALLOWED_SVG_ATTRIBUTES: set[str] = {
@ -29,6 +30,7 @@ ALLOWED_SVG_ATTRIBUTES: set[str] = {
"style",
"d",
"fill",
"fill-opacity",
"fill-rule",
"stroke",
"stroke-width",
@ -69,6 +71,7 @@ ALLOWED_SVG_ATTRIBUTES: set[str] = {
"xmlns",
"xmlns:xlink",
"version",
"type",
}