I don't know if this is a bug yet. Took a couple hours to track down where I finding a problem.
I have an integration where the helper module reads product list data on the fly (as the screen loads). The data is filtered and literally placed back into the data object (in a script tag) at the end of the page. The issue is the product "description" field.
The HTML tags were not a problem -- that was the first thing I checked/eliminated. But Cutting to the chase it turns out when I change to source code mode and use a carriage return (for making the code readable) and clicked update, the data string assigned to its json name-value breaks the plugin being used.
It appears that character(s) inserted aren't compatible. So the question is: when I <mveval to create the json data is there a way to process the string so these hidden incompatible characters can be stripped out or ignored? I'm not using MVT: EVAL to render the string, it's in the helper module using <mveval. I mention it because I'm not sure if a mvtj type of output encoding is available that might solve this issue.
Thanks,
Scott
I have an integration where the helper module reads product list data on the fly (as the screen loads). The data is filtered and literally placed back into the data object (in a script tag) at the end of the page. The issue is the product "description" field.
The HTML tags were not a problem -- that was the first thing I checked/eliminated. But Cutting to the chase it turns out when I change to source code mode and use a carriage return (for making the code readable) and clicked update, the data string assigned to its json name-value breaks the plugin being used.
It appears that character(s) inserted aren't compatible. So the question is: when I <mveval to create the json data is there a way to process the string so these hidden incompatible characters can be stripped out or ignored? I'm not using MVT: EVAL to render the string, it's in the helper module using <mveval. I mention it because I'm not sure if a mvtj type of output encoding is available that might solve this issue.
Thanks,
Scott
Comment