sou 7 лет назад
Родитель
Сommit
2de29fcc17
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      lib/util/recommendedXssWhiteList.js

+ 1 - 1
lib/util/recommendedXssWhiteList.js

@@ -10,7 +10,7 @@ const tags = [
   's', 'sup', 'sub', 'strong', 'strike', 'ul', 'br', 'hr', 'span', 'div',
   's', 'sup', 'sub', 'strong', 'strike', 'ul', 'br', 'hr', 'span', 'div',
 ];
 ];
 
 
-const attrs = ['src', 'width', 'height', 'alt', 'title', 'href', 'class', 'style'];
+const attrs = ['src', 'href', 'class', 'id', 'width', 'height', 'alt', 'title', 'style'];
 
 
 module.exports = {
 module.exports = {
   'tags': tags,
   'tags': tags,