Skip to content

Commit 05ab242

Browse files
committed
MC-23989: Mini cart missing when you edit inline welcome message for guest and use special characters
1 parent f5004d3 commit 05ab242

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->escapeHtml($welcomeMessage) ?>"></span>
22+
data-bind="html: '<?= $escaper->escapeHtmlAttr($welcomeMessage) ?>'"></span>
2323
<?= $block->getBlockHtml('header.additional') ?>
2424
<!-- /ko -->
2525
</li>

0 commit comments

Comments
 (0)