diff --git a/core/includes/theme.inc b/core/includes/theme.inc index 6ea20b8..ed4ff79 100644 --- a/core/includes/theme.inc +++ b/core/includes/theme.inc @@ -1323,7 +1323,7 @@ function template_preprocess_html(&$variables) { // Construct page title. if (!empty($variables['page']['#title'])) { $head_title = array( - 'title' => trim(strip_tags($variables['page']['#title'])), + 'title' => SafeMarkup::checkAdminXss(trim(strip_tags($variables['page']['#title']))), 'name' => $site_config->get('name'), ); }