Skip to content

Commit 7d91ba0

Browse files
committed
MC-17544: "<" and ">" symbols are changed to "&lt;" and "&gt;" in the frontend catalog search line
1 parent ee6bc37 commit 7d91ba0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ $helper = $this->helper(\Magento\Search\Helper\Data::class);
2828
}'
2929
type="text"
3030
name="<?= $block->escapeHtmlAttr($helper->getQueryParamName()) ?>"
31-
value="<?= $block->escapeHtmlAttr($helper->getEscapedQueryText()) ?>"
31+
value="<?= /* @noEscape */ $helper->getEscapedQueryText() ?>"
3232
placeholder="<?= $block->escapeHtmlAttr(__('Search entire store here...')) ?>"
3333
class="input-text"
3434
maxlength="<?= $block->escapeHtmlAttr($helper->getMaxQueryLength()) ?>"

0 commit comments

Comments
 (0)