cmark

My personal build of CMark ✏️

Commit
694a826bf0caef60330e3f4fcd195611a70ec77e
Parent
d745ec198a34c913ac7cf833037ddbf58840ea77
Author
John MacFarlane <jgm@berkeley.edu>
Date

Added example to spec of shortcut link with following space.

See #214.

Diffstat

1 file changed, 10 insertions, 0 deletions

Status File Name N° Changes Insertions Deletions
Modified spec.txt 10 10 0
diff --git a/spec.txt b/spec.txt
@@ -5907,6 +5907,16 @@ The link labels are case-insensitive:
 <p><a href="/url" title="title">Foo</a></p>
 .
 
+A space after the link text should be preserved:
+
+.
+[foo] bar
+
+[foo]: /url
+.
+<p><a href="/url">foo</a> bar</p>
+.
+
 If you just want bracketed text, you can backslash-escape the
 opening bracket to avoid links: