From 03f06a1412d8c420d48c2882465522c26d35bd87 Mon Sep 17 00:00:00 2001 From: moodler Date: Fri, 24 Jan 2003 08:41:18 +0000 Subject: [PATCH] Remove the ampersand thing ... it was actually a Mozilla display bug. :-) --- lib/weblib.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/weblib.php b/lib/weblib.php index 24665703c0..93fef55365 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -532,9 +532,6 @@ function text_to_html($text, $smiley=true, $para=true) { $text = eregi_replace("([\n\r])<", " <", $text); $text = eregi_replace(">([\n\r])", "> ", $text); -/// Replace ampersands - $text = eregi_replace("&", "&", $text); - /// Make lone URLs into links. eg http://moodle.com/ $text = eregi_replace("([\n\r ([])([[:alnum:]]+)://([^[:space:]]*)([[:alnum:]#?/&=])", "\\1\\2://\\3\\4", $text); -- 2.39.5