Skip to content

Commit

Permalink
Update Autolink.php
Browse files Browse the repository at this point in the history
  • Loading branch information
asika32764 committed Jun 21, 2015
1 parent 0a14ce3 commit 566c5c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Autolink.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down Expand Up @@ -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)
{
Expand Down

0 comments on commit 566c5c7

Please sign in to comment.