diff --git a/src/helpers/cms-content-helper.js b/src/helpers/cms-content-helper.js index f4ae0be6d..21a7c5db5 100644 --- a/src/helpers/cms-content-helper.js +++ b/src/helpers/cms-content-helper.js @@ -296,7 +296,7 @@ export function doesCopyContainTextLink(copy) { * @returns array of strings */ export function splitCopyOnCMSPlaceHolder(copy) { - return copy.split(/{(.*?)}/g); + return copy.split(/{(.*?)}/g).filter(str => str.length > 0); } /**