forked from ashi009/node-fast-html-parser
-
Notifications
You must be signed in to change notification settings - Fork 116
Closed
Description
Hi,
A bug seems to be affecting the parsing of the abbr tag:
> const { parse } = require("node-html-parser")
> parse("<a>foo</a>").querySelector("a").innerText
'foo'
> parse("<abbr>foo</abbr>").querySelector("abbr").innerText
'\n'I was able to reproduce this bug on Node 16.15 with versions 6.1.9 and 6.1.10 of the package. In 6.1.8, everything works as expected:
> parse("<abbr>foo</abbr>").querySelector("abbr").innerText
'foo'I couldn't find other tags with a similar behaviour.
Metadata
Metadata
Assignees
Labels
No labels