From b16965c3dbdcb60d72903b97ba85ff47cedeaf05 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sat, 31 Jan 2015 22:05:28 -0800 Subject: Clarified that link titles can't contain blank lines. Added test case. Closes #271. --- spec.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'spec.txt') diff --git a/spec.txt b/spec.txt index 11b6496..21bef8c 100644 --- a/spec.txt +++ b/spec.txt @@ -1872,6 +1872,20 @@ line2 ">foo

. +However, it may not contain a [blank line]: + +. +[foo]: /url 'title + +with blank line' + +[foo] +. +

[foo]: /url 'title

+

with blank line'

+

[foo]

+. + 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 -- cgit v1.2.3