cmark

My personal build of CMark ✏️

Commit
a1f271dd365155fcf9f529d139d6efd06bea3dc3
Parent
bbca5bb3bbacd2bb8c85cfe54293b8c4da29dbf9
Author
John MacFarlane <jgm@berkeley.edu>
Date

Update spec.

Diffstat

1 file changed, 20 insertions, 0 deletions

Status File Name N° Changes Insertions Deletions
Modified test/spec.txt 20 20 0
diff --git a/test/spec.txt b/test/spec.txt
@@ -5678,6 +5678,16 @@ single spaces, just as they would be by a browser:
 ````````````````````````````````
 
 
+Not all [Unicode whitespace] (for instance, non-breaking space) is
+collapsed, however:
+
+```````````````````````````````` example
+`a  b`
+.
+<p><code>a  b</code></p>
+````````````````````````````````
+
+
 Q: Why not just leave the spaces, since browsers will collapse them
 anyway?  A:  Because we might be targeting a non-HTML format, and we
 shouldn't rely on HTML-specific rendering assumptions.
@@ -7362,6 +7372,16 @@ may be used in titles:
 ````````````````````````````````
 
 
+Titles must be separated from the link using a [whitespace].
+Other [Unicode whitespace] like non-breaking space doesn't work.
+
+```````````````````````````````` example
+[link](/url "title")
+.
+<p><a href="/url%C2%A0%22title%22">link</a></p>
+````````````````````````````````
+
+
 Nested balanced quotes are not allowed without escaping:
 
 ```````````````````````````````` example