aboutsummaryrefslogtreecommitdiff
path: root/spec.txt
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-01-31 20:26:26 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-01-31 20:28:53 -0800
commit6a298fae46a2e0d3a95ffe776507e52da0601865 (patch)
tree8e237606830d9e0b4888f58905b8dc4a87140b3e /spec.txt
parent2287a01cc8e5c1d6917e99d1e507a50583325af5 (diff)
Added additional test showing backslash escapes don't work in autolinks.
See #282.
Diffstat (limited to 'spec.txt')
-rw-r--r--spec.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/spec.txt b/spec.txt
index 3c85d55..11924cc 100644
--- a/spec.txt
+++ b/spec.txt
@@ -6666,6 +6666,14 @@ Spaces are not allowed in autolinks:
<p>&lt;http://foo.bar/baz bim&gt;</p>
.
+Backslash-escapes do not work inside autolinks:
+
+.
+<http://example.com/\[\>
+.
+<p><a href="http://example.com/%5C%5B%5C">http://example.com/\[\</a></p>
+.
+
An [email autolink](@email-autolink)
consists of `<`, followed by an [email address],
followed by `>`. The link's label is the email address,
@@ -6693,6 +6701,14 @@ Examples of email autolinks:
<p><a href="mailto:foo+special@Bar.baz-bar0.com">foo+special@Bar.baz-bar0.com</a></p>
.
+Backslash-escapes do not work inside email autolinks:
+
+.
+<foo\+@bar.example.com>
+.
+<p>&lt;foo+@bar.example.com&gt;</p>
+.
+
These are not autolinks:
.