diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-06-15 10:44:55 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-06-15 10:44:55 -0700 |
commit | fbeb28c9bd35823f179a69e051faa93d01124ebd (patch) | |
tree | fbffbd398112983e65874302685debea68d1eb84 | |
parent | e251fe5fbbd5691ab5a067623fea5685e7dbf03a (diff) |
Updated spec.txt.
-rw-r--r-- | test/spec.txt | 13 |
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 "title" ok</p> . +This is a link reference definition, but it has no title: + +. +[foo]: /url +"title" ok +. +<p>"title" 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, |