mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 04:30:15 +01:00
Don't convert URLs into links for the plain text format because
it can mess up code sometimes
This commit is contained in:
parent
7c55a29b37
commit
f8a51b414b
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user