From 566c5c76ee22283d2ea35cb3a2cdcfb5219bb932 Mon Sep 17 00:00:00 2001 From: Simon Asika Date: Mon, 22 Jun 2015 01:15:40 +0800 Subject: [PATCH] Update Autolink.php --- src/Autolink.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Autolink.php b/src/Autolink.php index e093752..14b4a95 100644 --- a/src/Autolink.php +++ b/src/Autolink.php @@ -78,7 +78,7 @@ public function convert($text, $attribs = array()) $regex, function($matches) use ($self, $attribs) { - preg_match('/[a-zA-Z]*\=\"(.*)\"/', $matches[0], $inElements); + preg_match('/[a-zA-Z]*\=\"(.*)/', $matches[0], $inElements); if (!$inElements) { @@ -107,7 +107,7 @@ public function convertEmail($text, $attribs = array()) $regex, function($matches) use ($attribs) { - preg_match('/[a-zA-Z]*\=\"(.*)\"/', $matches[0], $inElements); + preg_match('/[a-zA-Z]*\=\"(.*)/', $matches[0], $inElements); if (!$inElements) {