htmlparser2
Advanced tools
Comparing version 2.2.8 to 2.2.9
@@ -88,2 +88,7 @@ var ElementType = require("./ElementType.js"), | ||
if(name === "*") return filter(function(elem){ | ||
var type = elem.type; | ||
return type === ElementType.Tag || type === ElementType.Script || type === ElementType.Style; | ||
}); | ||
return filter(function(elem){ | ||
@@ -90,0 +95,0 @@ var type = elem.type; |
@@ -282,4 +282,5 @@ var ElementType = require("./ElementType.js"); | ||
//many browsers (eg. Safari, Chrome) convert </br> to <br> | ||
else if(name === "br" && !this._options.xmlMode) | ||
else if(name === "br" && !this._options.xmlMode){ | ||
this._processOpenTag(name + "/"); | ||
} | ||
}; | ||
@@ -286,0 +287,0 @@ |
{ | ||
"name": "htmlparser2", | ||
"description": "Performance-optimized forgiving HTML/XML/RSS parser", | ||
"version": "2.2.8", | ||
"version": "2.2.9", | ||
"author": "Felix Boehm <me@feedic.com>", | ||
@@ -6,0 +6,0 @@ "keywords": ["html", "parser", "streams", "xml", "dom", "rss", "feed", "atom"], |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
79923
3089