acdlite / acdlite/react-remarkable

parsed content surrounded by span instead of div

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

描述

In the code, the component statically renders a span with all the parsed html inside of it. This is causing invalid html.
I am hunting an issue, where mobile safari crashes with my web app. If I don't use react-remarkable, everything is fine.
On the net I found some hints, that mobile safari might crash due to invalid html. So I beg you to change the span to div. Span in this case is almost always wrong, since it is very likely, that there will be at least a p-tag inside of the generated html.

贡献指南

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

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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