diff --git a/packages/docs-gesture-handler/plugins/swm-geo.js b/packages/docs-gesture-handler/plugins/swm-geo.js index 495adbd76b..61e4295ecd 100644 --- a/packages/docs-gesture-handler/plugins/swm-geo.js +++ b/packages/docs-gesture-handler/plugins/swm-geo.js @@ -116,7 +116,9 @@ module.exports = function swmGeoPlugin(context) { { tagName: 'script', attributes: { type: 'application/ld+json' }, - innerHTML: JSON.stringify(buildStructuredData(context.siteConfig)), + innerHTML: JSON.stringify( + buildStructuredData(context.siteConfig) + ).replace(/