Permalink
Browse files

Don't convert URLs into links for the plain text format because

it can mess up code sometimes
  • Loading branch information...
1 parent 7c55a29 commit f8a51b414b5bb2e10382748a64c48f34c3d61968 moodler committed Jul 15, 2003
Showing with 0 additions and 1 deletion.
  1. +0 −1 lib/weblib.php
View
@@ -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;

0 comments on commit f8a51b4

Please sign in to comment.