From f8a51b414b5bb2e10382748a64c48f34c3d61968 Mon Sep 17 00:00:00 2001 From: moodler Date: Tue, 15 Jul 2003 02:19:12 +0000 Subject: [PATCH] Don't convert URLs into links for the plain text format because it can mess up code sometimes --- lib/weblib.php | 1 - 1 file changed, 1 deletion(-) 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; -- 2.39.5