diff --git a/lib/weblib.php b/lib/weblib.php index f4ce83f8103..eeefb1180c3 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -1155,7 +1155,7 @@ function format_string ($string, $striplinks = false, $courseid=NULL ) { static $strcache; //Calculate md5 - $md5 = md5($string.$striplinks); + $md5 = md5($string.'<+>'.$striplinks); //Fetch from cache if possible if(isset($strcache[$md5])) {