diff --git a/CHANGELOG.md b/CHANGELOG.md index 60226d667b..08cc980bfa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ - Fix cart item quantity change rollback [#1418](https://github.com/bigcommerce/cornerstone/pull/1418) - Changed z-index to higher for header [#1422](https://github.com/bigcommerce/cornerstone/pull/1422) - Removed customer (not address) phone number requirement from Edit Account [#1417](https://github.com/bigcommerce/cornerstone/pull/1417) +- Sanitize faceted search titles to remove HTML [#1426](https://github.com/bigcommerce/cornerstone/pull/1426) ## 3.0.0 (2018-12-21) ### Breaking Changes diff --git a/templates/components/faceted-search/facets/multi.html b/templates/components/faceted-search/facets/multi.html index 23da87eaeb..bad2f23d65 100644 --- a/templates/components/faceted-search/facets/multi.html +++ b/templates/components/faceted-search/facets/multi.html @@ -30,7 +30,7 @@
class="navList-action navList-action--checkbox {{#if selected }} is-selected {{/if}}" rel="nofollow" data-faceted-search-facet> - {{ title }} + {{ sanitize title }} {{#if ../show_product_counts}} ({{ count }}) {{/if}}