Remove manual allow details tag since default already allow it

Signed-off-by: Max Wu <jackymaxj@gmail.com>
This commit is contained in:
Max Wu 2018-02-26 20:54:57 +08:00
parent 912cce2b40
commit 711a11ce23

View file

@ -19,9 +19,7 @@ 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', 'width', 'height'] whiteList['iframe'] = ['allowfullscreen', 'name', 'referrerpolicy', 'sandbox', 'src', 'width', 'height']
// allow details tag // allow summary tag
whiteList['details'] = []
// allow summary tag for details
whiteList['summary'] = [] whiteList['summary'] = []
// allow ruby tag // allow ruby tag
whiteList['ruby'] = [] whiteList['ruby'] = []