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

New pathological parsing for fenced divs #40

Open
jgm opened this issue Apr 6, 2020 · 1 comment
Open

New pathological parsing for fenced divs #40

jgm opened this issue Apr 6, 2020 · 1 comment

Comments

@jgm
Copy link
Owner

jgm commented Apr 6, 2020

python -c 'n=800; print("::: {#id}\n" * n + "a\n" + ":::\n" * n)'

This is a problem with the new fix for detecting fence closers.
At each close we need to iterate through all subordinate fenced divs in the stack.

@jgm
Copy link
Owner Author

jgm commented Apr 6, 2020

Quadratic time.

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