diff options
author | facelessuser <faceless.shop@gmail.com> | 2014-11-17 18:44:08 -0700 |
---|---|---|
committer | facelessuser <faceless.shop@gmail.com> | 2014-11-17 18:44:08 -0700 |
commit | 69fd8b4871f3c027b78072af88bb8a62202bc7e7 (patch) | |
tree | 88a494362cdc19ed1687c67b6b5f7c9dacbcbf51 /tests/extensions/toc.txt | |
parent | 609faad76b80ff10da0e471183ad0cede3221571 (diff) | |
download | markdown-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/extensions/toc.txt')
0 files changed, 0 insertions, 0 deletions