From 3d99baba064091f74b9da78eaed38fcf4875af46 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Tue, 7 Oct 2014 22:21:03 -0700 Subject: Adjusted tests for new js parser. --- spec.txt | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) (limited to 'spec.txt') diff --git a/spec.txt b/spec.txt index 990ae8c..db62f53 100644 --- a/spec.txt +++ b/spec.txt @@ -4525,6 +4525,24 @@ __foo _bar_ baz__

foo bar baz

. +But note: + +. +*foo**bar**baz* +. +

foobarbaz

+. + +. +**foo*bar*baz** +. +

foobarbaz**

+. + +The difference is that in the two preceding cases, +the internal delimiters [can close emphasis](#can-close-emphasis), +while in the cases with spaces, they cannot. + Note that you cannot nest emphasis directly inside emphasis using the same delimeter, or strong emphasis directly inside strong emphasis: @@ -4606,7 +4624,7 @@ However, a string of four or more `****` can never close emphasis:

*foo****

. -Note that there are some asymmetries here: +We retain symmetry in these cases: . *foo** @@ -4614,7 +4632,7 @@ Note that there are some asymmetries here: **foo* .

foo*

-

**foo*

+

*foo

. . @@ -4637,7 +4655,7 @@ More cases with mismatched delimiters: . ***foo* . -

***foo*

+

**foo

. . @@ -4649,7 +4667,7 @@ More cases with mismatched delimiters: . ***foo** . -

***foo**

+

*foo

. . -- cgit v1.2.3