diff --git a/lib/Cake/View/Helper/TextHelper.php b/lib/Cake/View/Helper/TextHelper.php index 61ef8143d59..0cebdb1d208 100644 --- a/lib/Cake/View/Helper/TextHelper.php +++ b/lib/Cake/View/Helper/TextHelper.php @@ -120,7 +120,7 @@ public function stripLinks($text) { public function autoLinkUrls($text, $htmlOptions = array()) { $this->_linkOptions = $htmlOptions; $text = preg_replace_callback( - '#(?)((?:https?|ftp|nntp)://[^\s<>()]+)#i', + '#(?)((?:https?|ftp|nntp)://[^\s<>()]+)#i', array(&$this, '_linkBareUrl'), $text );