cmark

My personal build of CMark ✏️

Commit
e2c745e9bbd93013b7734a5cee524de651f794c2
Parent
89a10775af065e7113ae1d34ea64b5ac9a741dd0
Author
John MacFarlane <jgm@berkeley.edu>
Date

Fixed some left-flanking/right-flanking reversals in spec for emphasis.

Closes #257.

Diffstat

1 file changed, 14 insertions, 14 deletions

Status File Name N° Changes Insertions Deletions
Modified spec.txt 28 14 14
diff --git a/spec.txt b/spec.txt
@@ -4469,14 +4469,14 @@ a sequence of one or more `*` characters that is not preceded or
 followed by a `*` character, or a sequence of one or more `_`
 characters that is not preceded or followed by a `_` character.
 
-A [left-flanking delimiter run](@right-facing-delimiter-run) is
+A [left-flanking delimiter run](@left-flanking-delimiter-run) is
 a [delimiter run](#delimiter-run) that is (a) not followed by [unicode
 whitespace](#unicode-whitespace), and (b) either not followed by a
 [punctuation character](#punctuation-character), or
 preceded by [unicode whitespace](#unicode-whitespace) or
 a [punctuation character](#punctuation-character).
 
-A [right-flanking delimiter run](@left-facing-delimiter-run) is
+A [right-flanking delimiter run](@right-flanking-delimiter-run) is
 a [delimiter run](#delimiter-run) that is (a) not preceded by [unicode
 whitespace](#unicode-whitespace), and (b) either not preceded by a
 [punctuation character](#punctuation-character), or
@@ -4529,38 +4529,38 @@ The following rules define emphasis and strong emphasis:
 
 1.  A single `*` character [can open emphasis](@can-open-emphasis)
     iff it is part of a
-    [left-flanking delimiter run](#right-facing-delimiter-run).
+    [left-flanking delimiter run](#left-flanking-delimiter-run).
 
 2.  A single `_` character [can open emphasis](#can-open-emphasis) iff
     it is part of a
-    [left-flanking delimiter run](#right-facing-delimiter-run)
+    [left-flanking delimiter run](#left-flanking-delimiter-run)
     and is not preceded by an ASCII alphanumeric character.
 
 3.  A single `*` character [can close emphasis](@can-close-emphasis)
     iff it is part of a
-    [left-flanking delimiter run](#right-facing-delimiter-run).
+    [right-flanking delimiter run](#right-flanking-delimiter-run).
 
 4.  A single `_` character [can close emphasis](#can-close-emphasis)
     iff it is part of a
-    [left-flanking delimiter run](#right-facing-delimiter-run).
+    [right-flanking delimiter run](#right-flanking-delimiter-run).
     and it is not followed by an ASCII alphanumeric character.
 
 5.  A double `**` [can open strong emphasis](@can-open-strong-emphasis)
     iff it is part of a
-    [left-flanking delimiter run](#right-facing-delimiter-run).
+    [left-flanking delimiter run](#left-flanking-delimiter-run).
 
 6.  A double `__` [can open strong emphasis](#can-open-strong-emphasis)
     iff it is part of a
-    [left-flanking delimiter run](#right-facing-delimiter-run)
+    [left-flanking delimiter run](#left-flanking-delimiter-run)
     and is not preceded by an ASCII alphanumeric character.
 
 7.  A double `**` [can close strong emphasis](@can-close-strong-emphasis)
     iff it is part of a
-    [right-flanking delimiter run](#right-facing-delimiter-run).
+    [right-flanking delimiter run](#right-flanking-delimiter-run).
 
 8.  A double `__` [can close strong emphasis](#can-close-strong-emphasis)
     iff it is part of a
-    [right-flanking delimiter run](#right-facing-delimiter-run).
+    [right-flanking delimiter run](#right-flanking-delimiter-run).
     and is not followed by an ASCII alphanumeric character.
 
 9.  Emphasis begins with a delimiter that [can open
@@ -4630,7 +4630,7 @@ Rule 1:
 
 This is not emphasis, because the opening `*` is followed by
 whitespace, and hence not part of a [left-flanking delimiter
-run](#right-facing-delimiter-run):
+run](#left-flanking-delimiter-run):
 
 .
 a * foo bar*
@@ -4640,7 +4640,7 @@ a * foo bar*
 
 This is not emphasis, because the opening `*` is preceded
 by an alphanumeric and followed by punctuation, and hence
-not part of a [left-flanking delimiter run](#right-facing-delimiter-run):
+not part of a [left-flanking delimiter run](#left-flanking-delimiter-run):
 
 .
 a*"foo"*
@@ -4741,7 +4741,7 @@ whitespace:
 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](#left-facing-delimiter-run):
+run](#right-flanking-delimiter-run):
 
 .
 *(*foo)
@@ -4834,7 +4834,7 @@ followed by whitespace:
 
 This is not strong emphasis, because the opening `**` is preceded
 by an alphanumeric and followed by punctuation, and hence
-not part of a [left-flanking delimiter run](#right-facing-delimiter-run):
+not part of a [left-flanking delimiter run](#left-flanking-delimiter-run):
 
 .
 a**"foo"**