mirror of https://github.com/status-im/codimd.git
Update to allow li tag specify value number
This commit is contained in:
parent
91949be651
commit
1ca39d9c8e
|
@ -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 New Issue