aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-11-22 20:07:22 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2014-11-22 20:07:22 -0800
commit694a826bf0caef60330e3f4fcd195611a70ec77e (patch)
tree5cfd57d5f6a2348dc12cf5db30ef73b52addd8c9
parentd745ec198a34c913ac7cf833037ddbf58840ea77 (diff)
Added example to spec of shortcut link with following space.
See #214.
-rw-r--r--spec.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/spec.txt b/spec.txt
index 0693ba4..0d114b8 100644
--- 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: