From 9fc1cbd81c2aeae84dbf676d56f742fac31be659 Mon Sep 17 00:00:00 2001 From: calzoneman Date: Mon, 19 Jan 2015 01:26:46 -0600 Subject: [PATCH] Whitelist tags for filters --- lib/xss.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/xss.js b/lib/xss.js index 1ab08576..b8a379e9 100644 --- a/lib/xss.js +++ b/lib/xss.js @@ -11,6 +11,7 @@ const ALLOWED_TAGS = [ "h2", "img", "marquee", // It pains me to do this, but a lot of people use it... + "s", "section", "span", "summary"