Skip to content

Commit 1ca39d9

Browse files
committed
Update to allow li tag specify value number
1 parent 91949be commit 1ca39d9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

public/js/render.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ var dataUriRegex = /^\s*data:([a-z]+\/[a-z0-9-+.]+(;[a-z-]+=[a-z0-9-]+)?)?(;base
99
var whiteList = filterXSS.whiteList;
1010
// allow ol specify start number
1111
whiteList['ol'] = ['start'];
12+
// allow li specify value number
13+
whiteList['li'] = ['value'];
1214
// allow style tag
1315
whiteList['style'] = [];
1416
// allow kbd tag

0 commit comments

Comments
 (0)