preact-markup icon indicating copy to clipboard operation
preact-markup copied to clipboard

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

Open HimanshuSojitraSynacor opened this issue 2 years ago • 0 comments

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

HimanshuSojitraSynacor avatar Oct 11 '23 11:10 HimanshuSojitraSynacor