summaryrefslogtreecommitdiff
path: root/public/js/render.js
diff options
context:
space:
mode:
authorMax Wu2018-02-26 20:54:57 +0800
committerMax Wu2018-02-26 20:54:57 +0800
commit711a11ce2344a7d3b2e07004edf33949ecc3b2af (patch)
tree6d45f81e64f7b2822cbb550f1ef50ae769b9560c /public/js/render.js
parent912cce2b40689310333d6388fd82ff354051a7ac (diff)
Remove manual allow details tag since default already allow it
Signed-off-by: Max Wu <jackymaxj@gmail.com>
Diffstat (limited to 'public/js/render.js')
-rw-r--r--public/js/render.js4
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'] = []