cmark

My personal build of CMark ✏️

Commit
54cf0c7d7d46b1cd90fa8f0ad0daf79ac9684978
Parent
4459a62c666c6c4b4f46a093f7c9fe7a476534aa
Author
John MacFarlane <jgm@berkeley.edu>
Date

Added case for #59 to pathological_test.py.

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
@@ -41,6 +41,9 @@ pathological = {
     "link openers and emph closers":
                  (("[ a_" * 50000),
                   re.compile("(\[ a_){50000}")),
+    "hard link/emph case":
+                 ("**x [a*b**c*](d)",
+                  re.compile("\\*\\*x <a href=\"d\">a<em>b</em><em>c</em></a>")),
     "nested brackets":
                  (("[" * 50000) + "a" + ("]" * 50000),
                   re.compile("\[{50000}a\]{50000}")),