Update to support summary tag
This commit is contained in:
parent
70d2fa388e
commit
ba2bfa2188
1 changed files with 2 additions and 0 deletions
|
@ -14,6 +14,8 @@ whiteList['style'] = [];
|
||||||
whiteList['kbd'] = [];
|
whiteList['kbd'] = [];
|
||||||
// allow ifram tag with some safe attributes
|
// allow ifram tag with some safe attributes
|
||||||
whiteList['iframe'] = ['allowfullscreen', 'name', 'referrerpolicy', 'sandbox', 'src', 'srcdoc', 'width', 'height'];
|
whiteList['iframe'] = ['allowfullscreen', 'name', 'referrerpolicy', 'sandbox', 'src', 'srcdoc', 'width', 'height'];
|
||||||
|
// allow summary tag
|
||||||
|
whiteList['summary'] = [];
|
||||||
|
|
||||||
var filterXSSOptions = {
|
var filterXSSOptions = {
|
||||||
allowCommentTag: true,
|
allowCommentTag: true,
|
||||||
|
|
Loading…
Reference in a new issue