Skip to content

Commit 566c5c7

Browse files
committed
Update Autolink.php
1 parent 0a14ce3 commit 566c5c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Autolink.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public function convert($text, $attribs = array())
7878
$regex,
7979
function($matches) use ($self, $attribs)
8080
{
81-
preg_match('/[a-zA-Z]*\=\"(.*)\"/', $matches[0], $inElements);
81+
preg_match('/[a-zA-Z]*\=\"(.*)/', $matches[0], $inElements);
8282

8383
if (!$inElements)
8484
{
@@ -107,7 +107,7 @@ public function convertEmail($text, $attribs = array())
107107
$regex,
108108
function($matches) use ($attribs)
109109
{
110-
preg_match('/[a-zA-Z]*\=\"(.*)\"/', $matches[0], $inElements);
110+
preg_match('/[a-zA-Z]*\=\"(.*)/', $matches[0], $inElements);
111111

112112
if (!$inElements)
113113
{

0 commit comments

Comments
 (0)