mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 09:36:08 +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'],
|
||||
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({
|
||||
css: false,
|
||||
|
||||
Reference in new issue
Block a user