Skip to content

"preact-markup: Error: Document parse failed." is thrown on passing "<body></body>" with type as html #49

Open
@HimanshuSojitraSynacor

Description

Hello, I'm facing "preact-markup: Error: Document parse failed." error on passing "<body></body>" with type as html.
<Markup markup={"<body></body>"} type="html" />

Observed on preact-markup version 2.1.1.

Codesandbox: https://codesandbox.io/s/preact-markup-issue-rjftnj

Thanks

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