ui: allow div[class]

This commit is contained in:
undefined committed 2021-06-27 20:43:30 +08:00
1 parent 5357d5611b
commit 0ddd242a41
2 files changed
+3 -3

No files matched your search

@@ -24,13 +24,13 @@ const xss = new Xss.FilterXSS({
dd: [], dd: [],
del: ['datetime'], del: ['datetime'],
details: ['open'], details: ['open'],
div: [], div: ['class'],
dl: [], dl: [],
dt: [], dt: [],
em: [], em: [],
font: ['color', 'size', 'face'], font: ['color', 'size', 'face'],
h1: [], h1: [],
h2: [], h2: ['class'],
h3: [], h3: [],
h4: [], h4: [],
h5: [], h5: [],
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "@hydrooj/ui-default", "name": "@hydrooj/ui-default",
"version": "4.11.38", "version": "4.11.39",
"author": "undefined <i@undefined.moe>", "author": "undefined <i@undefined.moe>",
"license": "AGPL-3.0", "license": "AGPL-3.0",
"main": "hydro.js", "main": "hydro.js",