Result in html in browser:
As you can see, it add extra space between first second quotes and
javascript ignores that attribute value is just "{".How can i escape it
properly. Uncaught SyntaxError: Unexpected end of JSON inputat
JSON.parse ()at getComponentData
(core.wcm.components.commons.datalayer.v1.js:158:25)at
getComponentObject
(core.wcm.components.commons.datalayer.v1.js:130:25)at
addComponentToDataLayer
(core.wcm.components.commons.datalayer.v1.js:121:24)at
core.wcm.components.commons.d...