1
0
mirror of https://github.com/erusev/parsedown.git synced 2023-08-10 21:13:06 +03:00
This commit is contained in:
Emanuil Rusev 2014-12-21 13:51:16 +02:00
parent 38cc1ca7e0
commit c9b4de3c9d

View File

@ -1360,7 +1360,7 @@ class Parsedown
return;
}
if (preg_match('/^\([ ]*([^ ]+)(?:[ ]+(".+?"|\'.+?\'))?[ ]*\)/', $remainder, $matches))
if (preg_match('/^\([ ]*([^ ]+?)(?:[ ]+(".+?"|\'.+?\'))?[ ]*\)/', $remainder, $matches))
{
$Element['attributes']['href'] = $matches[1];