@outgrowio/open-commerce-google-shopping-feed
Advanced tools
Comparing version 0.1.5 to 0.1.6
{ | ||
"name": "@outgrowio/open-commerce-google-shopping-feed", | ||
"description": "Google Shopping XML feed generator for Mailchimp Open Commerce", | ||
"version": "0.1.5", | ||
"version": "0.1.6", | ||
"main": "index.js", | ||
@@ -6,0 +6,0 @@ "type": "module", |
@@ -160,3 +160,3 @@ import SimpleSchema from "simpl-schema"; | ||
barcode, | ||
description: stripHtml(description).result.replace(/\\n/g, " "), // strip out potential HTML tags and replace line breaks with spaces | ||
description: encodeURIComponent(stripHtml(description).result.replace(/\\n/g, " ")), // strip out potential HTML tags and replace line breaks with spaces, and UTF-8 encode | ||
imageUrls: media.map((image) => image.URLs.large).filter((url) => url !== primaryImageUrl), | ||
@@ -168,3 +168,3 @@ primaryImageUrl, | ||
supportedFulfillmentTypes, | ||
title, | ||
title: encodeURIComponent(title), | ||
url: `BASE_URL/product/${slug}`, | ||
@@ -171,0 +171,0 @@ vendor |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
30768