diff --git a/public/mod/glossary/showentry.php b/public/mod/glossary/showentry.php index b298f26e8ab..63e973e7aa3 100644 --- a/public/mod/glossary/showentry.php +++ b/public/mod/glossary/showentry.php @@ -73,7 +73,12 @@ if (!empty($courseid)) { $PAGE->navbar->add($strglossaries); $PAGE->navbar->add($strsearch); - $PAGE->set_title(strip_tags("$course->shortname: $strglossaries $strsearch")); + + $PAGE->set_title(implode(\moodle_page::TITLE_SEPARATOR, [ + $strsearch, + $strglossaries, + $course->shortname, + ])); $PAGE->set_heading($course->fullname); echo $OUTPUT->header(); } else {