Add pre-emptive escaping to HTML titles.

This commit is contained in:
Buster Neece 2023-04-22 20:15:57 -05:00
parent 5502087cb0
commit 7133ba97f4
No known key found for this signature in database
GPG Key ID: F1D2E64A0005E80E
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ $header ??= null;
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title><?= $customization->getPageTitle($title) ?></title>
<title><?= $this->e($customization->getPageTitle($title)) ?></title>
<?= $this->fetch('partials/head') ?>

View File

@ -23,7 +23,7 @@ $hide_footer ??= false;
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title><?= $customization->getPageTitle($title) ?></title>
<title><?= $this->e($customization->getPageTitle($title)) ?></title>
<?= $this->fetch('partials/head') ?>