diff --git a/src/CustomMarkdown.php b/src/CustomMarkdown.php index f54ad36e..fa2eeba3 100644 --- a/src/CustomMarkdown.php +++ b/src/CustomMarkdown.php @@ -26,7 +26,7 @@ class CustomMarkdown extends \Michelf\Markdown protected function doAutoLinks2($text) { $text = preg_replace_callback('{(?<\s]+)}i', [&$this, '_doAutoLinks_url_callback'], $text); - $text = preg_replace_callback('{(?<\s]+)}i', [&$this, '_doAutoLinks_url_callback'], $text); + $text = preg_replace_callback('{(?<\s]+)}i', [&$this, '_doAutoLinks_url_callback'], $text); return $text; } @@ -63,7 +63,7 @@ class CustomMarkdown extends \Michelf\Markdown protected function doPosts($text) { - return preg_replace_callback('/(?:(?hashPart('') . $x[0] . $this->hashPart(''); }, $text); @@ -71,7 +71,7 @@ class CustomMarkdown extends \Michelf\Markdown protected function doTags($text) { - return preg_replace_callback('/(?:(?hashPart('') . $x[0] . $this->hashPart(''); }, $text); @@ -79,7 +79,7 @@ class CustomMarkdown extends \Michelf\Markdown protected function doUsers($text) { - return preg_replace_callback('/(?:(?hashPart('') . $x[0] . $this->hashPart(''); }, $text);