diff --git a/src/util/getImageUrl.js b/src/util/getImageUrl.js index ed6f513..32fbd07 100644 --- a/src/util/getImageUrl.js +++ b/src/util/getImageUrl.js @@ -36,7 +36,7 @@ const getImageSrcset = path => { const getImageSrc = (path, sizeRequested) => { if (!path || path.match(/^http/) || path.match(/svg$/) || window.CMS) { - return path + return encodeURI(path) } sizeRequested = parseInt(sizeRequested, 10) let size