cmark

My personal build of CMark ✏️

Commit
478195cad776469a8532b11b798d9e520652ef64
Parent
07a84eeabd42e36af2bfb7382cdaa9aacfd31295
Author
John MacFarlane <jgm@berkeley.edu>
Date

Add pathological test for #285.

Diffstat

1 file changed, 3 insertions, 0 deletions

Status File Name N° Changes Insertions Deletions
Modified test/pathological_tests.py 3 3 0
diff --git a/test/pathological_tests.py b/test/pathological_tests.py
@@ -48,6 +48,9 @@ pathological = {
     "link openers and emph closers":
                  (("[ a_" * 50000),
                   re.compile("(\[ a_){50000}")),
+    "pattern [ (]( repeated":
+                 (("[ (](" * 80000),
+                  re.compile("(\[ \(\]\(){80000}")),
     "hard link/emph case":
                  ("**x [a*b**c*](d)",
                   re.compile("\\*\\*x <a href=\"d\">a<em>b\\*\\*c</em></a>")),