acdlite / acdlite/react-remarkable
parsed content surrounded by span instead of div
Offen
- Vorherrschende Sprache
- JavaScript
- Sterne
- 457
- Forks
- 57
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.