@contentful/rich-text-react-renderer
Advanced tools
Comparing version 15.19.4 to 15.19.5
@@ -22,3 +22,3 @@ "use strict"; | ||
// Preserve multiple spaces. | ||
nodeValue = nodeValue.replace(/ {2,}/g, function (match) { return ' '.repeat(match.length); }); | ||
nodeValue = nodeValue.replace(/ {2,}/g, function (match) { return '\u00A0'.repeat(match.length); }); | ||
// Preserve line breaks. | ||
@@ -25,0 +25,0 @@ var lines_1 = nodeValue.split('\n'); |
@@ -439,3 +439,3 @@ 'use strict'; | ||
// Preserve multiple spaces. | ||
nodeValue = nodeValue.replace(/ {2,}/g, function (match) { return ' '.repeat(match.length); }); | ||
nodeValue = nodeValue.replace(/ {2,}/g, function (match) { return '\u00A0'.repeat(match.length); }); | ||
// Preserve line breaks. | ||
@@ -442,0 +442,0 @@ var lines_1 = nodeValue.split('\n'); |
{ | ||
"name": "@contentful/rich-text-react-renderer", | ||
"version": "15.19.4", | ||
"version": "15.19.5", | ||
"main": "dist/rich-text-react-renderer.es5.js", | ||
@@ -52,3 +52,3 @@ "typings": "dist/types/index.d.ts", | ||
}, | ||
"gitHead": "1fbcc367918c03ed6eea7bd9f36a859026ef8cfb" | ||
"gitHead": "01408eddaeda87a68e678a15a918f30368a97c16" | ||
} |
Sorry, the diff of this file is not supported yet
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
141505