Fixes #6269 -- Avoid double-escaping on title.

This commit is contained in:
Buster Neece 2023-05-21 14:03:11 -05:00
parent d337ee65ee
commit 5e30c5cfd3
No known key found for this signature in database
GPG Key ID: F1D2E64A0005E80E
5 changed files with 5 additions and 5 deletions

View File

@ -12,7 +12,7 @@ $this->layout(
'minimal',
[
'page_class' => 'page-station-public-player station-' . $station->getShortName(),
'title' => $this->e($station->getName()),
'title' => $station->getName(),
]
);

View File

@ -8,7 +8,7 @@ use Carbon\CarbonImmutable;
$this->layout('minimal', [
'page_class' => 'podcasts station-' . $station->getShortName(),
'title' => 'Podcasts - ' . $this->e($station->getName()),
'title' => 'Podcasts - ' . $station->getName(),
'hide_footer' => true,
]);

View File

@ -10,7 +10,7 @@ $this->layout(
'minimal',
[
'page_class' => 'podcasts station-' . $station->getShortName(),
'title' => 'Podcasts - ' . $this->e($station->getName()),
'title' => 'Podcasts - ' . $station->getName(),
'hide_footer' => true,
]
);

View File

@ -2,7 +2,7 @@
$this->layout('minimal', [
'page_class' => 'podcasts station-' . $station->getShortName(),
'title' => 'Podcasts - ' . $this->e($station->getName()),
'title' => 'Podcasts - ' . $station->getName(),
'hide_footer' => true,
]);

View File

@ -177,7 +177,7 @@ endif; ?>
endif; ?>
<div class="card mb-3" role="region">
<div class="card-header bg-primary-dark">
<h3 class="card-title"><?=$title?></h3>
<h3 class="card-title"><?=$this->e($title) ?></h3>
</div>
<div class="card-body">
<?=$this->section('content')?>