You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The CommonMark dingus implementation currently strips non-whitespaceUnicode whitespace from
the start and end of paragraphs. The CommonMark specification and the cmark implementation seem to indicate that these characters should not be stripped.
Each "space" character in this example is U+1680, OGHAM SPACE MARK, chosen from the list of Unicode whitespace characters that are not in the list of whitespace characters.
Note that the leading and trailing U+1680 characters have been trimmed from the final result.
From CommonMark 0.28, section 4.8:
The paragraph’s raw content is formed by concatenating the lines and removing initial and final [whitespace].
The CommonMark dingus implementation currently strips non-
whitespace
Unicode whitespace
fromthe start and end of paragraphs. The CommonMark specification and the
cmark
implementation seem to indicate that these characters should not be stripped.Example link
Each "space" character in this example is
U+1680, OGHAM SPACE MARK
, chosen from the list ofUnicode whitespace characters
that are not in the list ofwhitespace characters
.Note that the leading and trailing
U+1680
characters have been trimmed from the final result.From CommonMark 0.28, section 4.8:
By comparison, in
cmark
0.28.3:Input:
Output:
Ref: commonmark/commonmark-spec#465
The text was updated successfully, but these errors were encountered: