markdown-to-jsx icon indicating copy to clipboard operation
markdown-to-jsx copied to clipboard

Empty `<style></style>` or `<style />` causes library to crash

Open lukebowerman opened this issue 1 month ago • 0 comments

Adding <style></style> to a string parsed by the Markdown component causes the component to crash.

Reproduction

  1. Go to https://markdown-to-jsx.quantizor.dev/

  2. Paste:

This is markdown

<style></style>
  1. 🔥

lukebowerman avatar May 22 '24 04:05 lukebowerman