Add pre-emptive escaping to HTML titles.
This commit is contained in:
parent
5502087cb0
commit
7133ba97f4
|
@ -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') ?>
|
||||
|
||||
|
|
|
@ -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') ?>
|
||||
|
||||
|
|
Loading…
Reference in New Issue