From c9b4de3c9daf9c4dc40e500696c250b192d2f66a Mon Sep 17 00:00:00 2001 From: Emanuil Rusev Date: Sun, 21 Dec 2014 13:51:16 +0200 Subject: [PATCH] resolve #253 --- Parsedown.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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];