From bed3684251ae68fe4c71acb7619d25072b1ec797 Mon Sep 17 00:00:00 2001 From: Sean Baines Date: Wed, 12 Feb 2020 22:22:45 +0000 Subject: [PATCH] fix(gatsby-source-contentful): Remove whitespace from default long text value (#21412) --- packages/gatsby-source-contentful/src/normalize.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/gatsby-source-contentful/src/normalize.js b/packages/gatsby-source-contentful/src/normalize.js index 8853c86f69877..572e1dd3da0c3 100644 --- a/packages/gatsby-source-contentful/src/normalize.js +++ b/packages/gatsby-source-contentful/src/normalize.js @@ -221,7 +221,7 @@ exports.buildForeignReferenceMap = ({ } function prepareTextNode(node, key, text, createNodeId) { - const str = _.isString(text) ? text : ` ` + const str = _.isString(text) ? text : `` const textNode = { id: createNodeId(`${node.id}${key}TextNode`), parent: node.id,