In line 690 of nodes/html.ts, the regex disallows attributes starting with an underscore. This makes this lib incompatible with Hyperscript. (https://hyperscript.org). I forked your lib here: https://github.com/codepilotsf/node-html-parser-hyperscript
...but you may want to add the one underscore char to the regex so it works with Hyperscript. :-)
Thanks!
In line 690 of nodes/html.ts, the regex disallows attributes starting with an underscore. This makes this lib incompatible with Hyperscript. (https://hyperscript.org). I forked your lib here: https://github.com/codepilotsf/node-html-parser-hyperscript
...but you may want to add the one underscore char to the regex so it works with Hyperscript. :-)
Thanks!