mirror of
https://github.com/erusev/parsedown.git
synced 2023-08-10 21:13:06 +03:00
resolve #61
This commit is contained in:
@@ -785,7 +785,11 @@ class Parsedown
|
|||||||
|
|
||||||
if ($element['!'])
|
if ($element['!'])
|
||||||
{
|
{
|
||||||
$markup .= '<img alt="'.$element['a'].'" src="'.$element['»'].'" />';
|
$markup .= '<img alt="'.$element['a'].'" src="'.$element['»'].'"';
|
||||||
|
|
||||||
|
isset($element['#']) and $markup .= ' title="'.$element['#'].'"';
|
||||||
|
|
||||||
|
$markup .= ' />';
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
1
tests/data/1390249049.html
Normal file
1
tests/data/1390249049.html
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<p><img alt="alt" src="/md.png" title="title" /></p>
|
1
tests/data/1390249049.md
Normal file
1
tests/data/1390249049.md
Normal file
@@ -0,0 +1 @@
|
|||||||
|

|
Reference in New Issue
Block a user