aboutsummaryrefslogtreecommitdiffstats
path: root/tests/misc/escaped_links.txt
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2011-06-23 13:56:40 -0400
committerWaylan Limberg <waylan@gmail.com>2011-06-23 13:56:40 -0400
commit06004bd900b7425641932d27f0bb5a77fadfcff5 (patch)
treeec1b940c4bf3e6863926edfd6a6ad87419078d6f /tests/misc/escaped_links.txt
parent41194b5f020aef6aa3d980e415162ab2ad541299 (diff)
downloadmarkdown-06004bd900b7425641932d27f0bb5a77fadfcff5.tar.gz
markdown-06004bd900b7425641932d27f0bb5a77fadfcff5.tar.bz2
markdown-06004bd900b7425641932d27f0bb5a77fadfcff5.zip
Added test for escaping chars in link urls. Closes #14 which was fixed in previous commits. This addes the missing tests.
Diffstat (limited to 'tests/misc/escaped_links.txt')
-rw-r--r--tests/misc/escaped_links.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/misc/escaped_links.txt b/tests/misc/escaped_links.txt
new file mode 100644
index 0000000..25d5e3f
--- /dev/null
+++ b/tests/misc/escaped_links.txt
@@ -0,0 +1,7 @@
+Backslashed in links:
+
+[q=go:GO\\:0000307](/query?q=go:GO\\:0000307)
+
+[q=go:GO\\:0000308][foo]
+
+[foo]: /query?q=go:GO\:0000308 "/query?q=go:GO\:0000308"