mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: fix css filtering for columns
This commit is contained in:
1 file changed
+1
-1
@@ -19,7 +19,7 @@ const depedentTags = {
|
|||||||
dt: ['dl'],
|
dt: ['dl'],
|
||||||
dd: ['dl'],
|
dd: ['dl'],
|
||||||
};
|
};
|
||||||
const whitelistClasses = ['row', 'columns', 'typo', 'note', 'warn'].concat(new Array(12).map((_, i) => `medium-${i + 1}`));
|
const whitelistClasses = ['row', 'columns', 'typo', 'note', 'warn'].concat(new Array(12).fill(0).map((_, i) => `medium-${i + 1}`));
|
||||||
|
|
||||||
const tagCheck = new FilterXSS({
|
const tagCheck = new FilterXSS({
|
||||||
css: false,
|
css: false,
|
||||||
|
|||||||
Reference in new issue
Block a user