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

Performance issue with br tag #234

Closed
sbondaryev opened this issue Feb 12, 2019 · 2 comments
Closed

Performance issue with br tag #234

sbondaryev opened this issue Feb 12, 2019 · 2 comments

Comments

@sbondaryev
Copy link

Steps to reproduce

  1. Go to: https://probablyup.com/markdown-to-jsx/
  2. Replace content with (30 <b> tags):
<b>1</b><b>2</b><b>3</b><b>4</b><b>5</b><b>6</b><b>7</b><b>8</b><b>9</b><b>10</b>
<b>1</b><b>2</b><b>3</b><b>4</b><b>5</b><b>6</b><b>7</b><b>8</b><b>9</b><b>20</b>
<b>1</b><b>2</b><b>3</b><b>4</b><b>5</b><b>6</b><b>7</b><b>8</b><b>9</b><b>30</b>
  1. Add <br /> on top of this content

Browser freezes

@camistein
Copy link

I'm experiencing the same issue, could it be related to: #136?

@quantizor
Copy link
Owner

Sorta... the regex for this HTML stuff is pretty intense

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

3 participants