Skip to content

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

Description

@HimanshuSojitraSynacor

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

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