htmlparser2
Advanced tools
Comparing version 5.0.0 to 5.0.1
@@ -161,4 +161,4 @@ "use strict"; | ||
else if (this.decodeEntities && | ||
this.special === 1 /* None */ && | ||
c === "&") { | ||
c === "&" && | ||
(this.special === 1 /* None */ || this.special === 4 /* Title */)) { | ||
if (this._index > this.sectionStart) { | ||
@@ -165,0 +165,0 @@ this.cbs.ontext(this.getSection()); |
@@ -18,2 +18,6 @@ "use strict"; | ||
var Parser_1 = require("./Parser"); | ||
/* | ||
* NOTE: If either of these two imports produces a type error, | ||
* please update your @types/node dependency! | ||
*/ | ||
var stream_1 = require("stream"); | ||
@@ -20,0 +24,0 @@ var string_decoder_1 = require("string_decoder"); |
{ | ||
"name": "htmlparser2", | ||
"description": "Fast & forgiving HTML/XML/RSS parser", | ||
"version": "5.0.0", | ||
"version": "5.0.1", | ||
"author": "Felix Boehm <me@feedic.com>", | ||
@@ -49,5 +49,2 @@ "funding": "https://github.com/fb55/htmlparser2?sponsor=1", | ||
}, | ||
"peerDependencies": { | ||
"@types/node": "^14.0.5" | ||
}, | ||
"devDependencies": { | ||
@@ -54,0 +51,0 @@ "@types/jest": "^26.0.0", |
Sorry, the diff of this file is not supported yet
101666
4
2209