diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-06-04 12:59:01 +0200 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-06-04 12:59:01 +0200 |
commit | d9accf4b63486fab1761eb1065354d3167bb9912 (patch) | |
tree | 1604de7fa917f7053b431adc51063746e3cfdb53 | |
parent | e0e8d35b1af33733c41465623ae4d497852c8a93 (diff) |
Require a nonspace character in link label.
Closes #322.
Added example.
-rw-r--r-- | spec.txt | 25 |
1 files changed, 25 insertions, 0 deletions
@@ -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 |