summaryrefslogtreecommitdiff
path: root/test/spec.txt
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-06-04 12:59:40 +0200
committerJohn MacFarlane <jgm@berkeley.edu>2015-06-04 12:59:40 +0200
commit240400e1c397c6b379c0c7c21d1ec658dbb24153 (patch)
treeb53b3268c35808c4103cdd878dbf2b8f88207dc7 /test/spec.txt
parentc52aecff5e1fb1c611f0803203e7efa933a9a472 (diff)
Updated spec.
Diffstat (limited to 'test/spec.txt')
-rw-r--r--test/spec.txt25
1 files changed, 25 insertions, 0 deletions
diff --git a/test/spec.txt b/test/spec.txt
index 6c660bb..f6417cf 100644
--- a/test/spec.txt
+++ b/test/spec.txt
@@ -6095,6 +6095,7 @@ that [matches] a [link reference definition] elsewhere in the document.
A [link label](@link-label) begins with a left bracket (`[`) and ends
with the first right bracket (`]`) that is not backslash-escaped.
+Between these brackets there must be at least one non-[whitespace character].
Unescaped square bracket characters are not allowed in
[link label]s. A link label can have at most 999
characters inside the square brackets.
@@ -6341,6 +6342,30 @@ backslash-escaped:
<p><a href="/uri">foo</a></p>
.
+A [link label] must contain at least one non-[whitespace character]:
+
+.
+[]
+
+[]: /uri
+.
+<p>[]</p>
+<p>[]: /uri</p>
+.
+
+.
+[
+ ]
+
+[
+ ]: /uri
+.
+<p>[
+ ]</p>
+<p>[
+ ]: /uri</p>
+.
+
A [collapsed reference link](@collapsed-reference-link)
consists of a [link label] that [matches] a
[link reference definition] elsewhere in the