Browse Source

Disable <marquee> tag

pull/6/head
Menci 8 years ago
parent
commit
cd14e9dfa9
  1. 1
      utility.js

1
utility.js

@ -83,7 +83,6 @@ module.exports = {
let XSS = require('xss');
let CSSFilter = require('cssfilter');
let whiteList = Object.assign({}, require('xss/lib/default').whiteList);
whiteList['marquee'] = [];
for (let tag in whiteList) whiteList[tag] = whiteList[tag].concat(['id', 'style', 'class']);
let xss = new XSS.FilterXSS({
css: {

Loading…
Cancel
Save