Update to support summary tag

This commit is contained in:
Wu Cheng-Han 2016-10-29 23:43:58 +08:00
parent 70d2fa388e
commit ba2bfa2188
1 changed files with 2 additions and 0 deletions

View File

@ -14,6 +14,8 @@ whiteList['style'] = [];
whiteList['kbd'] = [];
// allow ifram tag with some safe attributes
whiteList['iframe'] = ['allowfullscreen', 'name', 'referrerpolicy', 'sandbox', 'src', 'srcdoc', 'width', 'height'];
// allow summary tag
whiteList['summary'] = [];
var filterXSSOptions = {
allowCommentTag: true,