Update to allow li tag specify value number
This commit is contained in:
parent
91949be651
commit
1ca39d9c8e
1 changed files with 2 additions and 0 deletions
|
@ -9,6 +9,8 @@ var dataUriRegex = /^\s*data:([a-z]+\/[a-z0-9-+.]+(;[a-z-]+=[a-z0-9-]+)?)?(;base
|
|||
var whiteList = filterXSS.whiteList;
|
||||
// allow ol specify start number
|
||||
whiteList['ol'] = ['start'];
|
||||
// allow li specify value number
|
||||
whiteList['li'] = ['value'];
|
||||
// allow style tag
|
||||
whiteList['style'] = [];
|
||||
// allow kbd tag
|
||||
|
|
Loading…
Reference in a new issue