From 6f86cc8e15fec90a47b83d2aff0bbff44d77b039 Mon Sep 17 00:00:00 2001 From: Zongmin Lei Date: Thu, 22 Jan 2015 14:08:01 +0800 Subject: [PATCH] v0.1.19 --- dist/xss.js | 3 --- package.json | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/dist/xss.js b/dist/xss.js index 2ba6a97..30b542b 100644 --- a/dist/xss.js +++ b/dist/xss.js @@ -722,9 +722,6 @@ FilterXSS.prototype.process = function (html) { html = html.toString(); if (!html) return ''; - // 去除不可见字符 - html = DEFAULT.stripBlankChar(html); - var me = this; var options = me.options; var whiteList = options.whiteList; diff --git a/package.json b/package.json index e26f6ec..3df237b 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "xss", "main": "./lib/index.js", - "version": "0.1.18", + "version": "0.1.19", "description": "Sanitize untrusted HTML (to prevent XSS) with a configuration specified by a Whitelist. 根据白名单过滤HTML(防止XSS攻击)", "author": "leizongmin (http://ucdok.com)", "contributors": [