Closed codepilotsf closed 1 year ago
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!
Thank you very much for your advice. I tried but faild with https://github.com/taoqf/node-html-parser/issues/129
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!