react-markdown is crashing when trying to render this html:
<div class="entities" style="line-height: 2.5">
<mark class="entity" style="background: #7aecec; padding: 0.45em 0.6em; margin: 0 0.25em; line-height: 1; border-radius: 0.35em; box-decoration-break: clone; -webkit-box-decoration-break: clone">
Lorem Ipsum
<span style="font-size: 0.8em; font-weight: bold; line-height: 1; border-radius: 0.35em; text-transform: uppercase; vertical-align: middle; margin-left: 0.5rem">ORG</span>
</mark>
Testing</br>Testing</br>Testing
</div>
https://github.com/rexxars/react-markdown/pull/428 would fix this
This may also be fixed on 5.0.0, with this change. Could someone confirm whether that works? Otherwise it鈥檚 just the HTML parser being funky and the plan is for that to be replaced next major.
It still happens at https://remarkjs.github.io/react-markdown/. If I'm reading the history right, that's running 5.0.0 already.
By the way, this looks like a duplicate of #302 and possibly #345 too.
https://github.com/remarkjs/react-markdown/pull/507 will fix that