From 2a0700abda67280c3ed45794a3c6f5d7fd047b10 Mon Sep 17 00:00:00 2001 From: Emanuil Rusev Date: Mon, 20 Jan 2014 22:19:23 +0200 Subject: [PATCH] resolve #61 --- Parsedown.php | 6 +++++- tests/data/1390249049.html | 1 + tests/data/1390249049.md | 1 + 3 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 tests/data/1390249049.html create mode 100644 tests/data/1390249049.md diff --git a/Parsedown.php b/Parsedown.php index 12c6370..c7e1e6e 100755 --- a/Parsedown.php +++ b/Parsedown.php @@ -785,7 +785,11 @@ class Parsedown if ($element['!']) { - $markup .= ''.$element['a'].''; + $markup .= ''.$element['a'].'alt

\ No newline at end of file diff --git a/tests/data/1390249049.md b/tests/data/1390249049.md new file mode 100644 index 0000000..3e58ee5 --- /dev/null +++ b/tests/data/1390249049.md @@ -0,0 +1 @@ +![alt](/md.png "title") \ No newline at end of file