From 711a11ce2344a7d3b2e07004edf33949ecc3b2af Mon Sep 17 00:00:00 2001 From: Max Wu Date: Mon, 26 Feb 2018 20:54:57 +0800 Subject: [PATCH] Remove manual allow details tag since default already allow it Signed-off-by: Max Wu --- public/js/render.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/public/js/render.js b/public/js/render.js index 860f827..eb6852d 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'] = []