aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorfacelessuser <faceless.shop@gmail.com>2014-11-17 18:44:08 -0700
committerfacelessuser <faceless.shop@gmail.com>2014-11-17 18:44:08 -0700
commit69fd8b4871f3c027b78072af88bb8a62202bc7e7 (patch)
tree88a494362cdc19ed1687c67b6b5f7c9dacbcbf51 /tests
parent609faad76b80ff10da0e471183ad0cede3221571 (diff)
downloadmarkdown-69fd8b4871f3c027b78072af88bb8a62202bc7e7.tar.gz
markdown-69fd8b4871f3c027b78072af88bb8a62202bc7e7.tar.bz2
markdown-69fd8b4871f3c027b78072af88bb8a62202bc7e7.zip
Issue #366 Recursion error in toc ext
This reworks the toc ordering to be done in a single pass with no recursion. Very long documents with lots of headers can actually exceed Python’s max recursion limit. By handling the toc ordering with no recursion, large documents can no longer cause toc to fail with recursion erros.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions