cmark

My personal build of CMark ✏️

Commit
7e3a34e7ea8a734e15ca27b9b86f14ca727698de
Parent
f15108cca883005749b8bee3d020d50b9803b570
Author
John MacFarlane <jgm@berkeley.edu>
Date

Added test case for link-in-link-in-image (#252).

Diffstat

1 file changed, 6 insertions, 0 deletions

Status File Name N° Changes Insertions Deletions
Modified spec.txt 6 6 0
diff --git a/spec.txt b/spec.txt
@@ -5773,6 +5773,12 @@ However, links may not contain other links, at any level of nesting.
 <p>[foo <em>[bar <a href="/uri">baz</a>](/uri)</em>](/uri)</p>
 .
 
+.
+![[[foo](uri1)](uri2)](uri3)
+.
+<p><img src="uri3" alt="[foo](uri2)" /></p>
+.
+
 These cases illustrate the precedence of link text grouping over
 emphasis grouping: