Skip to content

Commit

Permalink
Merge pull request #2350 from bigcommerce/STRF-10416
Browse files Browse the repository at this point in the history
fix(storefront): STRF-10416 - Remove URL Encoding from Description in the Product Schema
  • Loading branch information
bc-jz committed Apr 20, 2023
2 parents 9b4f774 + 59e32cf commit b2c22db
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 @@ -5,6 +5,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Draft
- Removes the URL encoding from the 'description' in the product rich snippet schema [#2350](https://github.com/bigcommerce/cornerstone/pull/2350)
- Running Lighthouse npm script fails in terminal [#2345](https://github.com/bigcommerce/cornerstone/pull/2345)
- Removed accelerated checkout integration [#2341](https://github.com/bigcommerce/cornerstone/pull/2341)
- Added css classes for ApplePay Button [[#2344]](https://github.com/bigcommerce/cornerstone/pull/2344)
Expand Down
2 changes: 1 addition & 1 deletion templates/components/products/schema.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"name": {{{JSONstringify product.brand.name}}}
},
{{/if}}
"description": "{{encodeURI (sanitize product.description)}}",
"description": "{{sanitize product.description}}",
"image": "{{getImage product.main_image 'zoom_size' (cdn theme_settings.default_image_product)}}",
{{#and settings.show_product_reviews product.reviews.list.length}}
"aggregateRating": {
Expand Down

0 comments on commit b2c22db

Please sign in to comment.