diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-01-31 22:05:28 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-01-31 22:07:33 -0800 |
commit | b16965c3dbdcb60d72903b97ba85ff47cedeaf05 (patch) | |
tree | 573e141f6f4624652c79b733e120d758895c5112 | |
parent | 3f4186695cdd47faa99b3cb72310cdde63fed91a (diff) |
Clarified that link titles can't contain blank lines.
Added test case. Closes #271.
-rw-r--r-- | spec.txt | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -1872,6 +1872,20 @@ line2 ">foo</a></p> . +However, it may not contain a [blank line]: + +. +[foo]: /url 'title + +with blank line' + +[foo] +. +<p>[foo]: /url 'title</p> +<p>with blank line'</p> +<p>[foo]</p> +. + The title may be omitted: . @@ -5670,6 +5684,9 @@ A [link title](@link-title) consists of either - a sequence of zero or more characters between matching parentheses (`(...)`), including a `)` character only if it is backslash-escaped. +Although [link title]s may span multiple lines, they may not contain +a [blank line]. + An [inline link](@inline-link) consists of a [link text] followed immediately by a left parenthesis `(`, optional [whitespace], an optional [link destination], an optional [link title] separated from the link |