mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-25 11:16:31 -05:00
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'] = [];
|
||||
// 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 a new issue