Merged striplinks change from stable MDL-8713
authormoodler <moodler>
Fri, 16 Mar 2007 03:24:36 +0000 (03:24 +0000)
committermoodler <moodler>
Fri, 16 Mar 2007 03:24:36 +0000 (03:24 +0000)
lib/weblib.php

index fa94379c3f61a0edfaa48ba52ce4a8ff04ecce64..930c9233e3b43f211db0f5f8da990a12482787ea 100644 (file)
@@ -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;