cmark

My personal build of CMark ✏️

Commit
fbeb28c9bd35823f179a69e051faa93d01124ebd
Parent
e251fe5fbbd5691ab5a067623fea5685e7dbf03a
Author
John MacFarlane <jgm@berkeley.edu>
Date

Updated spec.txt.

Diffstat

1 file changed, 12 insertions, 1 deletion

Status File Name N° Changes Insertions Deletions
Modified test/spec.txt 13 12 1
diff --git a/test/spec.txt b/test/spec.txt
@@ -2033,6 +2033,15 @@ This is not a link reference definition, because there are
 <p>[foo]: /url &quot;title&quot; ok</p>
 .
 
+This is a link reference definition, but it has no title:
+
+.
+[foo]: /url
+"title" ok
+.
+<p>&quot;title&quot; ok</p>
+.
+
 This is not a link reference definition, because it is indented
 four spaces:
 
@@ -5833,7 +5842,9 @@ A [link text](@link-text) consists of a sequence of zero or more
 inline elements enclosed by square brackets (`[` and `]`).  The
 following rules apply:
 
-- Links may not contain other links, at any level of nesting.
+- Links may not contain other links, at any level of nesting. If
+  multiple otherwise valid link definitions appear nested inside each
+  other, the inner-most definition is used.
 
 - Brackets are allowed in the [link text] only if (a) they
   are backslash-escaped or (b) they appear as a matched pair of brackets,