aboutsummaryrefslogtreecommitdiffstats
path: root/tests/misc/image.txt
diff options
context:
space:
mode:
authorfacelessuser <faceless.shop@gmail.com>2016-07-26 20:28:18 -0600
committerfacelessuser <faceless.shop@gmail.com>2016-07-26 20:28:18 -0600
commit65170bf24268620598ef0d5a19aa945af5cb22f4 (patch)
tree86b43b641da6bf341a7e7116fb17450b5e6a44cc /tests/misc/image.txt
parent0e48b550d8d533c8cf24e5349bb9c7f6a19db1d2 (diff)
downloadmarkdown-65170bf24268620598ef0d5a19aa945af5cb22f4.tar.gz
markdown-65170bf24268620598ef0d5a19aa945af5cb22f4.tar.bz2
markdown-65170bf24268620598ef0d5a19aa945af5cb22f4.zip
Fix image titles not following spec
Don’t allow spaces in image links. This was also causing an issue where any text following a space was treated as a title. Ref #484.
Diffstat (limited to 'tests/misc/image.txt')
-rw-r--r--tests/misc/image.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/misc/image.txt b/tests/misc/image.txt
index 41a8cf7..3fae16a 100644
--- a/tests/misc/image.txt
+++ b/tests/misc/image.txt
@@ -5,4 +5,8 @@
[Poster]:http://humane_man.jpg "The most humane man."
-![Blank]() \ No newline at end of file
+![Blank]()
+
+![Fail](http://humane man.jpg "The most humane man.")
+
+![Fail](http://humane man.jpg)