Skip to content

Commit

Permalink
feat(search): ES-97 fixed the html special chars issue in facet names
Browse files Browse the repository at this point in the history
  • Loading branch information
bc-krishsenthilraj committed Feb 12, 2020
1 parent 49a1f47 commit 31bf694
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
rel="nofollow"
data-id="{{ id }}"
data-faceted-search-facet>
{{title}}
{{{title}}}
{{#if ../show_product_counts}}
{{#if count}}
<span>({{count}})</span>
Expand Down
2 changes: 1 addition & 1 deletion templates/components/faceted-search/facets/hierarchy.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ <h5 class="accordion-title">
rel="nofollow"
data-id="{{ id }}"
data-faceted-search-facet>
{{ title }}
{{{ title }}}
{{#if ../show_product_counts}}
{{#if count}}
<span>({{ count }})</span>
Expand Down
2 changes: 1 addition & 1 deletion templates/components/faceted-search/facets/multi.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ <h5 class="accordion-title">
class="navList-action navList-action--checkbox {{#if selected }} is-selected {{/if}}"
rel="nofollow"
data-faceted-search-facet>
{{ sanitize title }}
{{{ title }}}
{{#if ../show_product_counts}}
<span>({{ count }})</span>
{{/if}}
Expand Down
2 changes: 1 addition & 1 deletion templates/components/faceted-search/selected-facets.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ <h5 class="sidebarBlock-heading">
{{#if facet '===' 'rating'}}
{{lang 'search.faceted.selected.rating-label' rating=title}}
{{else}}
{{ title }}
{{{ title }}}
{{/if}}

<svg class="icon">
Expand Down

0 comments on commit 31bf694

Please sign in to comment.