acdlite / acdlite/react-remarkable

parsed content surrounded by span instead of div

Đang mở
#24 1 bình luận 6 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
457
Fork
57
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.