Skip to content

Commit 711a11c

Browse files
committed
Remove manual allow details tag since default already allow it
Signed-off-by: Max Wu <jackymaxj@gmail.com>
1 parent 912cce2 commit 711a11c

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

public/js/render.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,7 @@ whiteList['style'] = []
1919
whiteList['kbd'] = []
2020
// allow ifram tag with some safe attributes
2121
whiteList['iframe'] = ['allowfullscreen', 'name', 'referrerpolicy', 'sandbox', 'src', 'width', 'height']
22-
// allow details tag
23-
whiteList['details'] = []
24-
// allow summary tag for details
22+
// allow summary tag
2523
whiteList['summary'] = []
2624
// allow ruby tag
2725
whiteList['ruby'] = []

0 commit comments

Comments
 (0)