diff options
-rw-r--r-- | test/pathological_tests.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/pathological_tests.py b/test/pathological_tests.py index 613f2e5..de7d3b7 100644 --- a/test/pathological_tests.py +++ b/test/pathological_tests.py @@ -57,6 +57,9 @@ pathological = { "nested block quotes": ((("> " * 50000) + "a"), re.compile("(<blockquote>\n){50000}")), + "deeply nested lists": + ("".join(map(lambda x: (" " * x + "* a\n"), range(0,1000))), + re.compile("<ul>\n(<li>a\n<ul>\n){999}<li>a</li>\n</ul>\n(</li>\n</ul>\n){999}")), "U+0000 in input": ("abc\u0000de\u0000", re.compile("abc\ufffd?de\ufffd?")), |