Skip to content
This repository has been archived by the owner on Aug 13, 2022. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
sanitize page title in breadcrumb shown on edit page
  • Loading branch information
Guite committed Aug 30, 2021
1 parent 9630ff3 commit fed0758
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -155,7 +155,7 @@ public function getPagePath($page, bool $linkPages = true): string

$output = '<ol class="breadcrumb">';
foreach ($pages as $aPage) {
$content = $aPage['title'];
$content = htmlspecialchars($aPage['title']);
if (true === $linkPages) {
$link = $this->router->generate('zikulacontentmodule_page_display', ['slug' => $aPage['slug']]);
$titleAttribute = ' title="' . str_replace('"', '', $content) . '"';
Expand Down

0 comments on commit fed0758

Please sign in to comment.