Skip to content

Commit

Permalink
Escape user display name in menu.
Browse files Browse the repository at this point in the history
  • Loading branch information
BusterNeece committed Apr 20, 2023
1 parent f7ea58e commit 24276cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/main.phtml
Expand Up @@ -82,7 +82,7 @@ endif; ?>">

<div class="dropdown ml-3 d-inline-flex align-items-center">
<div class="mr-2">
<?= $user->getDisplayName() ?>
<?= $this->e($user->getDisplayName()) ?>
</div>

<button aria-expanded="false" aria-haspopup="true" class="navbar-toggler" aria-label="<?= __(
Expand Down

0 comments on commit 24276cb

Please sign in to comment.