Skip to content

Omits _ attribute used by Hyperscript #206

Description

@codepilotsf

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions