Skip to content

Commit 05864fb

Browse files
author
Alyss Noland
committed
STENCIL-3312: Properly escape html in product list view
1 parent 125f664 commit 05864fb

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## Draft
44
- `stencil.conf.js` was refactored to support webpack2 builds [961](https://github.com/bigcommerce/cornerstone/pull/961)
55
- Load amp social share JS only when we have share icons enabled. [#968](https://github.com/bigcommerce/cornerstone/pull/968)
6+
- Escape html for product summaries in product list view
67

78
## 1.6.2 (2017-03-15)
89
- Fix a bug that was not updating price and weight when an option is selected [#963](https://github.com/bigcommerce/cornerstone/pull/963)

templates/components/products/list-item.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ <h4 class="listItem-title">
1515
<a href="{{url}}">{{name}}</a>
1616
</h4>
1717
{{#if summary}}
18-
<p>{{summary}}</p>
18+
<p>{{{summary}}}</p>
1919
{{/if}}
2020
</div>
2121
<div class="listItem-actions">

0 commit comments

Comments
 (0)