aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2012-10-21 15:02:19 -0400
committerWaylan Limberg <waylan@gmail.com>2012-10-21 15:02:19 -0400
commit0dc9ae0d62829a4b9856a3979c967facafc2d128 (patch)
treeef88599d39b1ca6e19b94f4b4291a5f5ffda87c6 /tests
parent9c0959dd9b319819c13ffffbfa7185c8b9eba612 (diff)
downloadmarkdown-0dc9ae0d62829a4b9856a3979c967facafc2d128.tar.gz
markdown-0dc9ae0d62829a4b9856a3979c967facafc2d128.tar.bz2
markdown-0dc9ae0d62829a4b9856a3979c967facafc2d128.zip
Fixed #152. Spaces in links are now escaped.
Diffstat (limited to 'tests')
-rw-r--r--tests/basic/angle-links-and-img.html2
-rw-r--r--tests/misc/url_spaces.html4
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/basic/angle-links-and-img.html b/tests/basic/angle-links-and-img.html
index 1ca3b0b..255c299 100644
--- a/tests/basic/angle-links-and-img.html
+++ b/tests/basic/angle-links-and-img.html
@@ -1,4 +1,4 @@
-<p><a href="simple link" title="title">link</a>
+<p><a href="simple%20link" title="title">link</a>
<img alt="image" src="http://example.com/image.jpg" />
<a href="http://example.com/(()((())923)(">link</a>
<img alt="image" src="link(()))(" /></p> \ No newline at end of file
diff --git a/tests/misc/url_spaces.html b/tests/misc/url_spaces.html
index ebacb75..f9c91b3 100644
--- a/tests/misc/url_spaces.html
+++ b/tests/misc/url_spaces.html
@@ -1,2 +1,2 @@
-<p><a href="http://wikipedia.org/wiki/Dawn of War">Dawn of War</a></p>
-<p><a href="http://wikipedia.org/wiki/Dawn of War" title="Dawn of War">Dawn of War</a></p> \ No newline at end of file
+<p><a href="http://wikipedia.org/wiki/Dawn%20of%20War">Dawn of War</a></p>
+<p><a href="http://wikipedia.org/wiki/Dawn%20of%20War" title="Dawn of War">Dawn of War</a></p> \ No newline at end of file