Skip to content

Commit

Permalink
fix(customers): CHECKOUT-4828 Special characters to render properly o…
Browse files Browse the repository at this point in the history
…n the cart modal pop up
  • Loading branch information
mjhmatt committed Apr 17, 2020
1 parent 90f162c commit e45bda1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion templates/components/cart/content.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ <h4 class="cart-item-name"><a href="{{url}}">{{name}}</a></h4>
{{#if is_file}}
<a href="/viewfile.php?attributeId={{../id}}&cartitem={{../../id}}">{{value}}</a>
{{else}}
{{value}}
{{{ santiize value}}}
{{/if}}
</dd>
{{/each}}
Expand Down
2 changes: 1 addition & 1 deletion templates/components/cart/preview.html
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ <h4 class="productView-title">
{{name}}
</dt>
<dd class="productView-info-value">
{{value}}
{{{ sanitize value}}}
</dd>
</dl>
{{/each}}
Expand Down
2 changes: 1 addition & 1 deletion templates/components/products/product-view.html
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ <h2 class="productView-brand"{{#if schema}} itemprop="brand" itemscope itemtype=
{{#if theme_settings.show_custom_fields_tabs '!==' true}}
{{#each product.custom_fields}}
<dt class="productView-info-name">{{name}}:</dt>
<dd class="productView-info-value">{{{value}}}</dd>
<dd class="productView-info-value">{{{ sanitize value}}}</dd>
{{/each}}
{{/if}}
</dl>
Expand Down

0 comments on commit e45bda1

Please sign in to comment.