mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-01-18 22:14:22 -06:00
Update validators.py
This commit is contained in:
@@ -21,6 +21,7 @@ ALLOWED_SVG_TAGS: set[str] = {
|
|||||||
"use",
|
"use",
|
||||||
"title",
|
"title",
|
||||||
"desc",
|
"desc",
|
||||||
|
"style",
|
||||||
}
|
}
|
||||||
|
|
||||||
ALLOWED_SVG_ATTRIBUTES: set[str] = {
|
ALLOWED_SVG_ATTRIBUTES: set[str] = {
|
||||||
@@ -29,6 +30,7 @@ ALLOWED_SVG_ATTRIBUTES: set[str] = {
|
|||||||
"style",
|
"style",
|
||||||
"d",
|
"d",
|
||||||
"fill",
|
"fill",
|
||||||
|
"fill-opacity",
|
||||||
"fill-rule",
|
"fill-rule",
|
||||||
"stroke",
|
"stroke",
|
||||||
"stroke-width",
|
"stroke-width",
|
||||||
@@ -69,6 +71,7 @@ ALLOWED_SVG_ATTRIBUTES: set[str] = {
|
|||||||
"xmlns",
|
"xmlns",
|
||||||
"xmlns:xlink",
|
"xmlns:xlink",
|
||||||
"version",
|
"version",
|
||||||
|
"type",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user