sou 8 年之前
父節點
當前提交
e2779e2050
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      lib/util/RecommendedXSSWhiteList.js

+ 2 - 2
lib/util/RecommendedXSSWhiteList.js

@@ -13,6 +13,6 @@ const tags = [
 const attrs = ['src', 'width', 'height', 'alt', 'title', 'href', 'class', 'style'];
 
 module.exports = {
-  tags,
-  attrs,
+  'tags': tags,
+  'attrs': attrs,
 };