Skip to content
Permalink
Browse files Browse the repository at this point in the history
fix: added missing conversion to HTML entities
  • Loading branch information
thorsten committed Jan 23, 2023
1 parent 697a570 commit edf0f6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phpmyfaq/admin/header.php
Expand Up @@ -442,7 +442,7 @@
<a class="nav-link dropdown-toggle" href="#" id="userDropdown" role="button" data-toggle="dropdown"
aria-haspopup="true" aria-expanded="false">
<span class="mr-2 d-none d-lg-inline text-gray-600 small">
<?= $user->getUserData('display_name'); ?>
<?= Strings::htmlentities($user->getUserData('display_name')) ?>
</span>
<?php
if ($faqConfig->get('main.enableGravatarSupport')) {
Expand Down

0 comments on commit edf0f6f

Please sign in to comment.