From abd5bbc7eba04153fc997e4d5a321cd75600773c Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sat, 31 Jan 2015 20:06:21 -0800 Subject: Added some cases with newline whitespace around emphasis open delimiter. See #282. --- spec.txt | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/spec.txt b/spec.txt index 94931db..2a45d3f 100644 --- a/spec.txt +++ b/spec.txt @@ -4759,6 +4759,18 @@ whitespace:

*foo bar *

. +A newline also counts as whitespace: + +. +*foo bar +* +. +

*foo bar

+ +. + This is not emphasis, because the second `*` is preceded by punctuation and followed by an alphanumeric (hence it is not part of a [right-flanking delimiter run]: @@ -4887,6 +4899,15 @@ __ foo bar__

__ foo bar__

. +A newline counts as whitespace: +. +__ +foo bar__ +. +

__ +foo bar__

+. + This is not strong emphasis, because the opening `__` is preceded by an alphanumeric and followed by punctuation: -- cgit v1.2.3