We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf03950 commit c4f3420Copy full SHA for c4f3420
view/frontend/web/instantsearch.js
@@ -481,8 +481,6 @@ define([
481
placeholder: algoliaConfig.translations.searchFor,
482
showSubmit : false,
483
queryHook : (inputValue, search) => {
484
- const encodedHtml =
485
- algolia.htmlspecialcharsEncode(inputValue);
486
if (
487
algoliaConfig.isSearchPage &&
488
!algoliaConfig.request.categoryId &&
@@ -491,7 +489,7 @@ define([
491
489
$('.page-title-wrapper span.base').html(
492
490
algoliaConfig.translations.searchTitle +
493
": '" +
494
- encodedHtml +
+ algolia.htmlspecialcharsEncode(inputValue) +
495
"'"
496
);
497
}
0 commit comments