acdlite / acdlite/react-remarkable

parsed content surrounded by span instead of div

Open
#24 1 comment 6 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
457
Forks
57
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.