summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2016-09-14 17:14:42 +0200
committerJohn MacFarlane <jgm@berkeley.edu>2016-09-14 17:14:42 +0200
commita1f271dd365155fcf9f529d139d6efd06bea3dc3 (patch)
tree73602f94d954a004bb1ccd1c1e264bccfdb3c312 /test
parentbbca5bb3bbacd2bb8c85cfe54293b8c4da29dbf9 (diff)
Update spec.
Diffstat (limited to 'test')
-rw-r--r--test/spec.txt20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/spec.txt b/test/spec.txt
index 7d97e1e..02d1c7f 100644
--- 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