Skip to content

Commit

Permalink
Merge pull request #1426 from A-Jarrell/master
Browse files Browse the repository at this point in the history
Sanitize faceted search item's title
  • Loading branch information
Ubersmake authored Apr 10, 2019
2 parents d5a1b56 + 14980bb commit fbfeb83
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,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
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>
{{ title }}
{{ sanitize title }}
{{#if ../show_product_counts}}
<span>({{ count }})</span>
{{/if}}
Expand Down

0 comments on commit fbfeb83

Please sign in to comment.