Skip to content

Multiple comments are converted as sparse arrays #11

@ivan-kleshnin

Description

@ivan-kleshnin

Intentional or bug?

import convert from "html2hscript";

convert('<div><!-- test --><!-- test --></div>', (err, res) => {
  console.log(res);
});
h("div", [ /* test */, /* test */ ])

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