Merge branch 'MDL-85498-additionalhtmlfooter-support-multilang' of https://github.com/szymonk1101/moodle

This commit is contained in:
Mihail Geshoski
2026-02-16 13:55:02 +08:00
+1 -1
View File
@@ -568,7 +568,7 @@ class core_renderer extends renderer_base {
// for now. This will be replaced with the real content in {@see core_renderer::footer()}.
$output = '';
if ($this->page->pagelayout !== 'embedded' && !empty($CFG->additionalhtmlfooter)) {
$output .= "\n" . $CFG->additionalhtmlfooter;
$output .= "\n" . format_string($CFG->additionalhtmlfooter, false, ['context' => $this->page->context]);
}
$output .= $this->unique_end_html_token;
return $output;