diff --git a/mod/glossary/showentry.php b/mod/glossary/showentry.php index d9218c2f162..a7d58480973 100644 --- a/mod/glossary/showentry.php +++ b/mod/glossary/showentry.php @@ -72,7 +72,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 {