diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-01-31 20:06:21 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-01-31 20:06:21 -0800 |
commit | abd5bbc7eba04153fc997e4d5a321cd75600773c (patch) | |
tree | 8416a94798388c7725384cca4be59f229c4297c3 | |
parent | 64417f709abefe7bdd5ffd3cb45ad94ddf12a543 (diff) |
Added some cases with newline whitespace around emphasis open delimiter.
See #282.
-rw-r--r-- | spec.txt | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -4759,6 +4759,18 @@ whitespace: <p>*foo bar *</p> . +A newline also counts as whitespace: + +. +*foo bar +* +. +<p>*foo bar</p> +<ul> +<li></li> +</ul> +. + 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__ <p>__ foo bar__</p> . +A newline counts as whitespace: +. +__ +foo bar__ +. +<p>__ +foo bar__</p> +. + This is not strong emphasis, because the opening `__` is preceded by an alphanumeric and followed by punctuation: |