@@ -2880,6 +2880,18 @@ The link destination may not be omitted:
2880
2880
<p>[foo]</p>
2881
2881
````````````````````````````````
2882
2882
2883
+ The title must be separated from the link destination by
2884
+ whitespace:
2885
+
2886
+ ```````````````````````````````` example
2887
+ [foo]: <bar>(baz)
2888
+
2889
+ [foo]
2890
+ .
2891
+ <p>[foo]: <bar>(baz)</p>
2892
+ <p>[foo]</p>
2893
+ ````````````````````````````````
2894
+
2883
2895
2884
2896
Both title and destination can contain backslash escapes
2885
2897
and literal backslashes:
@@ -5565,7 +5577,7 @@ foo
5565
5577
## Entity and numeric character references
5566
5578
5567
5579
All valid HTML entity references and numeric character
5568
- references, except those occuring in code blocks and code spans,
5580
+ references, except those occurring in code blocks and code spans,
5569
5581
are recognized as such and treated as equivalent to the
5570
5582
corresponding Unicode characters. Conforming CommonMark parsers
5571
5583
need not store information about whether a particular character
@@ -5983,15 +5995,17 @@ of one or more `_` characters that is not preceded or followed by
5983
5995
a non-backslash-escaped `_` character.
5984
5996
5985
5997
A [left-flanking delimiter run](@) is
5986
- a [delimiter run] that is (a) not followed by [Unicode whitespace],
5987
- and (b) not followed by a [punctuation character], or
5998
+ a [delimiter run] that is (1) not followed by [Unicode whitespace],
5999
+ and either (2a) not followed by a [punctuation character], or
6000
+ (2b) followed by a [punctuation character] and
5988
6001
preceded by [Unicode whitespace] or a [punctuation character].
5989
6002
For purposes of this definition, the beginning and the end of
5990
6003
the line count as Unicode whitespace.
5991
6004
5992
6005
A [right-flanking delimiter run](@) is
5993
- a [delimiter run] that is (a) not preceded by [Unicode whitespace],
5994
- and (b) not preceded by a [punctuation character], or
6006
+ a [delimiter run] that is (1) not preceded by [Unicode whitespace],
6007
+ and either (2a) not preceded by a [punctuation character], or
6008
+ (2b) preceded by a [punctuation character] and
5995
6009
followed by [Unicode whitespace] or a [punctuation character].
5996
6010
For purposes of this definition, the beginning and the end of
5997
6011
the line count as Unicode whitespace.
0 commit comments