mirror of https://github.com/status-im/codimd.git
Update to support summary tag
This commit is contained in:
parent
70d2fa388e
commit
ba2bfa2188
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue