mirror of
https://github.com/erusev/parsedown.git
synced 2023-08-10 21:13:06 +03:00
resolve #163
This commit is contained in:
parent
2a5f99547c
commit
7c78aff578
@ -1069,7 +1069,7 @@ class Parsedown
|
|||||||
|
|
||||||
protected function identifyEmailTag($excerpt)
|
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(
|
return array(
|
||||||
'extent' => strlen($matches[0]),
|
'extent' => strlen($matches[0]),
|
||||||
|
Loading…
Reference in New Issue
Block a user