htmlparser2
Advanced tools
Comparing version 3.2.1 to 3.2.2
@@ -133,3 +133,3 @@ module.exports = Tokenizer; | ||
this._sectionStart = this._index; | ||
} else if(this._decodeEntities && c === "&"){ | ||
} else if(this._decodeEntities && c === "&" && this._baseState === TEXT){ | ||
if(this._index > this._sectionStart){ | ||
@@ -136,0 +136,0 @@ this._cbs.ontext(this._getSection()); |
{ | ||
"name": "htmlparser2", | ||
"description": "Fast & forgiving HTML/XML/RSS parser", | ||
"version": "3.2.1", | ||
"version": "3.2.2", | ||
"author": "Felix Boehm <me@feedic.com>", | ||
@@ -6,0 +6,0 @@ "keywords": ["html", "parser", "streams", "xml", "dom", "rss", "feed", "atom"], |
173754