From 6bbceaa40584bbdb2a76d3e9fe3e699f0bf938fc Mon Sep 17 00:00:00 2001 From: Paul Holden Date: Tue, 29 Jul 2025 22:03:18 +0100 Subject: [PATCH] MDL-86157 mod_glossary: correctly format entry page title. --- mod/glossary/showentry.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 {