Skip to content

Commit c922caa

Browse files
committed
PR-34061 updated binding to text
1 parent 49d927d commit c922caa

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Theme/view/frontend/templates/html

1 file changed

+1
-1
lines changed

app/code/Magento/Theme/view/frontend/templates/html/header.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ $welcomeMessage = $block->getWelcome();
1919
<!-- /ko -->
2020
<!-- ko ifnot: customer().fullname -->
2121
<span class="not-logged-in"
22-
data-bind='html: "<?= $escaper->escapeHtmlAttr($welcomeMessage) ?>"'></span>
22+
data-bind='text: "<?= $escaper->escapeHtml($welcomeMessage) ?>"'></span>
2323
<?= $block->getBlockHtml('header.additional') ?>
2424
<!-- /ko -->
2525
</li>

0 commit comments

Comments
 (0)