diff options
author | Max Wu | 2018-02-26 20:54:57 +0800 |
---|---|---|
committer | Max Wu | 2018-02-26 20:54:57 +0800 |
commit | 711a11ce2344a7d3b2e07004edf33949ecc3b2af (patch) | |
tree | 6d45f81e64f7b2822cbb550f1ef50ae769b9560c /public | |
parent | 912cce2b40689310333d6388fd82ff354051a7ac (diff) |
Remove manual allow details tag since default already allow it
Signed-off-by: Max Wu <jackymaxj@gmail.com>
Diffstat (limited to 'public')
-rw-r--r-- | public/js/render.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/public/js/render.js b/public/js/render.js index 860f8272..eb6852d1 100644 --- a/public/js/render.js +++ b/public/js/render.js @@ -19,9 +19,7 @@ whiteList['style'] = [] whiteList['kbd'] = [] // allow ifram tag with some safe attributes whiteList['iframe'] = ['allowfullscreen', 'name', 'referrerpolicy', 'sandbox', 'src', 'width', 'height'] -// allow details tag -whiteList['details'] = [] -// allow summary tag for details +// allow summary tag whiteList['summary'] = [] // allow ruby tag whiteList['ruby'] = [] |