From 6e229bf53c04796aa1c38209e7f60a0dbf176862 Mon Sep 17 00:00:00 2001 From: Marcin Kurczewski Date: Thu, 21 Nov 2013 14:29:45 +0100 Subject: [PATCH] Markdown: fixed mini-issue mentioned in #66 --- src/CustomMarkdown.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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);