From 42759733188664b68dcd12792bbf766b25efa90e Mon Sep 17 00:00:00 2001 From: Eloy Lafuente Date: Fri, 8 Jan 2010 22:18:42 +0000 Subject: [PATCH] MDL-21168 avoid http://www.whatever to be linked twice ; merged from 19_STABLE --- lib/weblib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/weblib.php b/lib/weblib.php index 1f09ce182b..becb157b50 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -1745,12 +1745,12 @@ function convert_urls_into_links(&$text) { if ($unicoderegexp) { //We can use unicode modifiers $text = preg_replace('#(?\\1', $text); - $text = preg_replace('#(?\\1', $text); } else { //We cannot use unicode modifiers $text = preg_replace('#(?\\1', $text); - $text = preg_replace('#(?\\1', $text); } -- 2.39.5