sou 7 лет назад
Родитель
Сommit
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,
 };