]> git.mjollnir.org Git - moodle.git/commitdiff
Don't convert URLs into links for the plain text format because
authormoodler <moodler>
Tue, 15 Jul 2003 02:19:12 +0000 (02:19 +0000)
committermoodler <moodler>
Tue, 15 Jul 2003 02:19:12 +0000 (02:19 +0000)
it can mess up code sometimes

lib/weblib.php

index a5e8b0d1b0d39c63a7b9eac2f16abc1bd3f5a035..2c4f9adf5034bc9e95f45f50b735d99ad7ada349 100644 (file)
@@ -457,7 +457,6 @@ function format_text($text, $format=FORMAT_MOODLE, $options=NULL) {
             $text = htmlentities($text);
             $text = str_replace("  ", "&nbsp; ", $text);
             replace_smilies($text);
-            convert_urls_into_links($text);
             $text = nl2br($text);
             return $text;
             break;