react-remarkable icon indicating copy to clipboard operation
react-remarkable copied to clipboard

parsed content surrounded by span instead of div

Open mightyplow opened this issue 7 years ago • 1 comments

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.

mightyplow avatar Jul 05 '17 08:07 mightyplow

Is this merged into master?

sa9designer avatar Apr 16 '19 03:04 sa9designer