Add width and height to allowed attributes

This commit is contained in:
Defelo
2025-09-13 22:37:03 +02:00
parent d5cf0612d5
commit ed41e5529a
+3 -1
View File
@@ -18,14 +18,16 @@ dompurify.setConfig({
"align",
"checked",
"class",
"height",
"href",
"id",
"name",
"src",
"target",
"text",
"title",
"src",
"type",
"width",
],
ALLOWED_TAGS: [
"a",