commonmark-hs icon indicating copy to clipboard operation
commonmark-hs copied to clipboard

New pathological parsing for fenced divs

Open jgm opened this issue 5 years ago • 1 comments

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 avatar Apr 06 '20 17:04 jgm

Quadratic time.

jgm avatar Apr 06 '20 17:04 jgm