Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty <style></style> or <style /> causes library to crash #582

Open
lukebowerman opened this issue May 22, 2024 · 0 comments · May be fixed by #601
Open

Empty <style></style> or <style /> causes library to crash #582

lukebowerman opened this issue May 22, 2024 · 0 comments · May be fixed by #601

Comments

@lukebowerman
Copy link

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. 🔥
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant