v0.1.12
This commit is contained in:
2
dist/xss.js
vendored
2
dist/xss.js
vendored
@@ -352,7 +352,7 @@ function StripTagBody (tags, next) {
|
||||
function stripCommentTag (html) {
|
||||
return html.replace(STRIP_COMMENT_TAG_REGEXP, '');
|
||||
}
|
||||
var STRIP_COMMENT_TAG_REGEXP = /<!--(.|\s)*?-->/gm;
|
||||
var STRIP_COMMENT_TAG_REGEXP = /<!--[\s\S]*?-->/g;
|
||||
|
||||
|
||||
exports.whiteList = whiteList;
|
||||
|
||||
Reference in New Issue
Block a user