quantizor / markdown-to-jsx

🏭 The most lightweight, customizable React markdown component.
https://markdown-to-jsx.quantizor.dev/
MIT License
1.97k stars 169 forks source link

<blockquote> rendering is broken in Firefox after v7.4.0 #542

Closed zegl closed 6 months ago

zegl commented 7 months ago

Hey, thanks for a fantastic library!

blockquote rendering seems to have broken sometime between v7.3.2 and v7.4.0 and is still broken on the latest release.

The bug only affects Firefox (v122), and does not affect Chrome or Safari.

This can be reproduced the demo ( https://markdown-to-jsx.quantizor.dev/ ) in Firefox:

Enter the following:

<blockquote>
hello
</blockquote>

The following is rendered:

<div class="sc-jTQCzO fhGuKO"><div><blockquote></blockquote><p>hello
&lt;/blockquote&gt;</p></div></div>
Screenshot 2024-02-15 at 15 13 28

In other browsers the blockquote is rendered correctly.

seancdavis commented 7 months ago

Seems related to #535. I was able to fix by downgrading to 7.3.2 (which it looks like you did, too, @zegl).

quantizor commented 6 months ago

Should be fixed with https://github.com/quantizor/markdown-to-jsx/releases/tag/v7.4.3

Sorry about that!