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

Nested UL crash rendering #586

Open
imsamdez opened this issue Jun 11, 2024 · 0 comments
Open

Nested UL crash rendering #586

imsamdez opened this issue Jun 11, 2024 · 0 comments

Comments

@imsamdez
Copy link

imsamdez commented Jun 11, 2024

I'm passing the following HTML string that contains a 3 level nested ul to markdown-to-jsx

<p>Test</p><ul><li>Test<ul><li>Test<ul><li>Test</li></ul></li><li>Test</li></ul></li><li>Test</li></ul><p>ezkef</p><ul><li>zefzef<ul><li>zefz<ul><li>zefzef</li><li>zef</li></ul></li><li>zef</li></ul></li><li>zef</li></ul>

Unfortunately, it seems that the lib struggle rendering. It freezes for a while and finally render the string.
But, if i remove one level of ul to have only a 2 level nested ul there is no issue.

Is it a known bug? Thanks for your help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant