From fae83c8d32e52a5777ef1bb670fa09973a0c0034 Mon Sep 17 00:00:00 2001 From: moodler Date: Fri, 16 Mar 2007 03:24:36 +0000 Subject: [PATCH] Merged striplinks change from stable MDL-8713 --- lib/weblib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/weblib.php b/lib/weblib.php index fa94379c3f..930c9233e3 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -1367,11 +1367,11 @@ function text_format_name( $key ) { * processed by enabled filters if $CFG->filterall is enabled * * @param string $string The string to be filtered. - * @param boolean $striplinks To strip any link in the result text. + * @param boolean $striplinks To strip any link in the result text (Moodle 1.8 default changed from false to true! MDL-8713) * @param int $courseid Current course as filters can, potentially, use it * @return string */ -function format_string ($string, $striplinks = false, $courseid=NULL ) { +function format_string ($string, $striplinks=true, $courseid=NULL ) { global $CFG, $COURSE; -- 2.39.5