v4.0.0
Breaking Changes
- TextNode#text now properly returns HTML decoded text. In order to access the unencoded text, use TextNode#rawText
- HtmlNode#structuredText is now returning HTML decoded text
Commits
- Merge branch 'main' of github.com:taoqf/node-html-parser; branch 'fix-134' of https://github.com/nonara/node-html-parser into nonara-fix-134 4f13096
- remove console, decode textcontext setter cb11eab
- style: Normalize indents to tabs e728280
- refactor: Remove utils file 7d6c367
- remove backupfile c66071a
- decode textContent #135 840ffda
- style: Normalize indents to tabs c445f31
- test: Add / update tests a4f345b
- fix: TextNode#toString should use rawText 996320e
- style: lint fixes e77fe84
- fix: TextNode text property is not decoded (fixes #134) 7dea8d7