From: moodler Date: Tue, 15 Jul 2003 02:19:12 +0000 (+0000) Subject: Don't convert URLs into links for the plain text format because X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=f8a51b414b5bb2e10382748a64c48f34c3d61968;p=moodle.git Don't convert URLs into links for the plain text format because it can mess up code sometimes --- diff --git a/lib/weblib.php b/lib/weblib.php index a5e8b0d1b0..2c4f9adf50 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -457,7 +457,6 @@ function format_text($text, $format=FORMAT_MOODLE, $options=NULL) { $text = htmlentities($text); $text = str_replace(" ", "  ", $text); replace_smilies($text); - convert_urls_into_links($text); $text = nl2br($text); return $text; break;