developit / developit/preact-markup

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

未关闭
#49 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
207
派生
27
PR 合并指标
30 天内没有已合并 PR

描述

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

Observed on preact-markup version 2.1.1.

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

Thanks

贡献指南

这个仓库没有索引到贡献指南

调研方向

首先,在链接的 CodeSandbox 中使用 preact-markup 2.1.1 和以 type="html" 传入的 标记重现该失败。跟踪文档解析路径,以确定此输入失败的原因;完成的标准是示例能够在没有解析错误的情况下渲染,并且现有标记行为保持不变。

由索引模型根据 Issue 内容生成。

评估

技术栈
javascript
领域
frontend
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
描述清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。