aboutsummaryrefslogtreecommitdiff
path: root/spec.txt
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2016-09-14 17:13:48 +0200
committerGitHub <noreply@github.com>2016-09-14 17:13:48 +0200
commit953d4809b3836f972e0e5b6fb090f8df6bc0f214 (patch)
treea0b9b77bab9bff387fe4172e221d8a1159a845ee /spec.txt
parentf32da1ec7a06fa31ab91f0a535c8a7f1ec62d465 (diff)
parentbc9a9f4425db870fad7a595e2d2f54cd2bb047bc (diff)
Merge pull request #422 from TimothyGu/unicode-whitespace
Add examples for Unicode whitespace
Diffstat (limited to 'spec.txt')
-rw-r--r--spec.txt20
1 files changed, 20 insertions, 0 deletions
diff --git a/spec.txt b/spec.txt
index 7d97e1e..02d1c7f 100644
--- a/spec.txt
+++ b/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