Skip to content

Commit

Permalink
fix(gatsby-source-contentful): Remove whitespace from default long te…
Browse files Browse the repository at this point in the history
…xt value (#21412)
  • Loading branch information
mrseanbaines committed Feb 12, 2020
1 parent f4caca1 commit bed3684
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/gatsby-source-contentful/src/normalize.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit bed3684

Please sign in to comment.