Skip to content

Commit

Permalink
Merge pull request #933 from bookernath/STENCIL-2415
Browse files Browse the repository at this point in the history
STENCIL-2415 - Prevent over-escaping of HTML in content page search
  • Loading branch information
junedkazi authored Feb 20, 2017
2 parents 2cdbf89 + 34db5a4 commit 22af694
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
- Update BC logo sprite to use current BC logo [#931](https://github.com/bigcommerce/stencil/pull/931)
- Fix z-index for product sale badges so they aren't above the menu [#926](https://github.com/bigcommerce/stencil/pull/926)
- Auto-expand product videos on the product page if the product has at least one video [#935](https://github.com/bigcommerce/stencil/pull/935)
- Fix an issue with special characters in search results for content pages [#933](https://github.com/bigcommerce/stencil/pull/933)


## 1.5.2 (2017-02-14)
Expand Down
4 changes: 2 additions & 2 deletions templates/pages/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,8 @@ <h5 class="suggestion-title">{{lang 'forms.search.suggestions.title'}}</h5>
{{> components/search/content-sort-box sort=pagination.content_results.sort}}
<ul>
{{#each content_results}}
<strong><a href="{{url}}">{{title}}</a></strong>({{type}})
<p>{{content}}</p>
<strong><a href="{{url}}">{{{title}}}</a></strong>({{type}})
<p>{{{content}}}</p>
{{/each}}
</ul>
{{> components/common/paginator pagination.content_results reload=true}}
Expand Down

0 comments on commit 22af694

Please sign in to comment.