diff options
author | facelessuser <faceless.shop@gmail.com> | 2016-07-26 20:28:18 -0600 |
---|---|---|
committer | facelessuser <faceless.shop@gmail.com> | 2016-07-26 20:28:18 -0600 |
commit | 65170bf24268620598ef0d5a19aa945af5cb22f4 (patch) | |
tree | 86b43b641da6bf341a7e7116fb17450b5e6a44cc /tests/misc/image.html | |
parent | 0e48b550d8d533c8cf24e5349bb9c7f6a19db1d2 (diff) | |
download | markdown-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.html')
-rw-r--r-- | tests/misc/image.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/misc/image.html b/tests/misc/image.html index aa24cef..1171e4e 100644 --- a/tests/misc/image.html +++ b/tests/misc/image.html @@ -1,3 +1,5 @@ <p><img alt="Poster" src="http://humane_man.jpg" title="The most humane man." /></p> <p><img alt="Poster" src="http://humane_man.jpg" title="The most humane man." /></p> -<p><img alt="Blank" src="" /></p>
\ No newline at end of file +<p><img alt="Blank" src="" /></p> +<p>![Fail](http://humane man.jpg "The most humane man.")</p> +<p>![Fail](http://humane man.jpg)</p>
\ No newline at end of file |