acdlite / acdlite/react-remarkable

parsed content surrounded by span instead of div

Aperta
#24 1 commento 6 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
457
Fork
57
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.