summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-06-15 10:44:55 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-06-15 10:44:55 -0700
commitfbeb28c9bd35823f179a69e051faa93d01124ebd (patch)
treefbffbd398112983e65874302685debea68d1eb84
parente251fe5fbbd5691ab5a067623fea5685e7dbf03a (diff)
Updated spec.txt.
-rw-r--r--test/spec.txt13
1 files changed, 12 insertions, 1 deletions
diff --git a/test/spec.txt b/test/spec.txt
index ac2ce2a..f6ea793 100644
--- 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,