Skip to content

Commit 4ce5583

Browse files
committed
Merge remote-tracking branch 'origin/MC-23753' into 2.4-develop-pr7
2 parents 18b0026 + 11518b6 commit 4ce5583

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

app/code/Magento/Search/view/frontend/templates/form.mini.phtml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ $helper = $this->helper(\Magento\Search\Helper\Data::class);
1414
<div class="block block-search">
1515
<div class="block block-title"><strong><?= $block->escapeHtml(__('Search')) ?></strong></div>
1616
<div class="block block-content">
17-
<form class="form minisearch" id="search_mini_form" action="<?= $block->escapeUrl($helper->getResultUrl()) ?>" method="get">
17+
<form class="form minisearch" id="search_mini_form"
18+
action="<?= $block->escapeUrl($helper->getResultUrl()) ?>" method="get">
1819
<div class="field search">
1920
<label class="label" for="search" data-role="minisearch-label">
2021
<span><?= $block->escapeHtml(__('Search')) ?></span>
@@ -29,7 +30,7 @@ $helper = $this->helper(\Magento\Search\Helper\Data::class);
2930
}'
3031
type="text"
3132
name="<?= $block->escapeHtmlAttr($helper->getQueryParamName()) ?>"
32-
value="<?= $block->escapeHtmlAttr($helper->getEscapedQueryText()) ?>"
33+
value="<?= /* @noEscape */ $helper->getEscapedQueryText() ?>"
3334
placeholder="<?= $block->escapeHtmlAttr(__('Search entire store here...')) ?>"
3435
class="input-text"
3536
maxlength="<?= $block->escapeHtmlAttr($helper->getMaxQueryLength()) ?>"

0 commit comments

Comments
 (0)