From 7c78aff578ce631f5e1e9a9db556961df240cc91 Mon Sep 17 00:00:00 2001 From: Emanuil Rusev Date: Thu, 1 May 2014 01:47:14 +0300 Subject: [PATCH] resolve #163 --- Parsedown.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Parsedown.php b/Parsedown.php index f4ca1d6..1e9a627 100755 --- a/Parsedown.php +++ b/Parsedown.php @@ -1069,7 +1069,7 @@ class Parsedown protected function identifyEmailTag($excerpt) { - if (strpos($excerpt, '>') !== false and preg_match('/<(\S+?@\S+?)>/', $excerpt, $matches)) + if (strpos($excerpt, '>') !== false and preg_match('/^<(\S+?@\S+?)>/', $excerpt, $matches)) { return array( 'extent' => strlen($matches[0]),