mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-21 14:20:42 +08:00
Add width and height to allowed attributes
This commit is contained in:
+3
-1
@@ -18,14 +18,16 @@ dompurify.setConfig({
|
||||
"align",
|
||||
"checked",
|
||||
"class",
|
||||
"height",
|
||||
"href",
|
||||
"id",
|
||||
"name",
|
||||
"src",
|
||||
"target",
|
||||
"text",
|
||||
"title",
|
||||
"src",
|
||||
"type",
|
||||
"width",
|
||||
],
|
||||
ALLOWED_TAGS: [
|
||||
"a",
|
||||
|
||||
Reference in New Issue
Block a user