From b3176b7bbe97971fb33d3dd79650d97e671c3561 Mon Sep 17 00:00:00 2001 From: Aidan Woods Date: Sun, 9 Apr 2017 19:40:55 +0100 Subject: Clarify precedence of thematic break There already exists the statement: "When both a thematic break and a list item are possible interpretations of a line, the thematic break takes precedence". This adjustment ensures that this precedence is achieved by the list item definition. --- spec.txt | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/spec.txt b/spec.txt index e556200..2259a28 100644 --- a/spec.txt +++ b/spec.txt @@ -3639,11 +3639,14 @@ The following rules define [list items]: If the list item is ordered, then it is also assigned a start number, based on the ordered list marker. - Exceptions: When the first list item in a [list] interrupts - a paragraph---that is, when it starts on a line that would - otherwise count as [paragraph continuation text]---then (a) - the lines *Ls* must not begin with a blank line, and (b) if - the list item is ordered, the start number must be 1. + Exceptions: + 1. When the first list item in a [list] interrupts + a paragraph---that is, when it starts on a line that would + otherwise count as [paragraph continuation text]---then (a) + the lines *Ls* must not begin with a blank line, and (b) if + the list item is ordered, the start number must be 1. + 2. If any line is a [thematic break][thematic breaks] then + that line is not a list item. For example, let *Ls* be the lines -- cgit v1.2.3 From e826996125e8d4e42cd9a5320b7976c31a5b39a6 Mon Sep 17 00:00:00 2001 From: Matthias Geier Date: Sat, 3 Jun 2017 15:09:29 +0200 Subject: Mention removing surrounding whitespace from link labels --- spec.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spec.txt b/spec.txt index 2efb378..c23024a 100644 --- a/spec.txt +++ b/spec.txt @@ -7568,7 +7568,8 @@ characters inside the square brackets. One label [matches](@) another just in case their normalized forms are equal. To normalize a -label, perform the *Unicode case fold* and collapse consecutive internal +label, perform the *Unicode case fold*, strip leading and trailing +[whitespace] and collapse consecutive internal [whitespace] to a single space. If there are multiple matching reference link definitions, the one that comes first in the document is used. (It is desirable in such cases to emit a warning.) -- cgit v1.2.3 From 750959960b89a029db2ed113cd739e39fe4b91ad Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Tue, 1 Aug 2017 16:06:27 -0700 Subject: Update spec.txt --- spec.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/spec.txt b/spec.txt index 2259a28..506eab7 100644 --- a/spec.txt +++ b/spec.txt @@ -3640,6 +3640,7 @@ The following rules define [list items]: number, based on the ordered list marker. Exceptions: + 1. When the first list item in a [list] interrupts a paragraph---that is, when it starts on a line that would otherwise count as [paragraph continuation text]---then (a) -- cgit v1.2.3