sou hace 7 años
padre
commit
e2779e2050
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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,
 };