sou 8 سال پیش
والد
کامیت
82188c2ba6
1فایلهای تغییر یافته به همراه0 افزوده شده و 4 حذف شده
  1. 0 4
      lib/util/xss.js

+ 0 - 4
lib/util/xss.js

@@ -38,18 +38,14 @@ class Xss {
           recommendedTagWhiteList.forEach(tag => {
             whiteListContent[tag] = recommendedAttrWhiteList;
           });
-
           option['whiteList'] = whiteListContent;
-
           break;
 
         case 3: // custom white list
           tagWhiteList.forEach(tag => {
             whiteListContent[tag] = attrWhiteList;
           });
-
           option['whiteList'] = whiteListContent;
-
           break;
 
         default: