From: moodler Date: Mon, 24 May 2004 17:58:46 +0000 (+0000) Subject: Fixed quotes in titles ... well nearly. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=19f671d3732f63ee0c728ada09c65a24d2c62b67;p=moodle.git Fixed quotes in titles ... well nearly. --- diff --git a/filter/activitynames/filter.php b/filter/activitynames/filter.php index f30a72f4f3..d4f8e7e9b7 100644 --- a/filter/activitynames/filter.php +++ b/filter/activitynames/filter.php @@ -29,6 +29,7 @@ //Exclude labels and hidden items if ($activity->mod != "label" && $activity->visible) { $title = strip_tags(urldecode($activity->name)); + $title = str_replace('"', "'", $title); $href_tag_begin = "wwwroot/mod/$activity->mod/view.php?id=$activity->cm\">"; $currentname = urldecode($activity->name); if ($currentname = trim($currentname)) {