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