- Traditionally, in HTML,
&symbol was not allowed inside a link or src. I think the inside editor is picking up this.
You can simply replace the
&symbol with the appropriate symbol entity name or number, for instance the name is
&See other html entities here.
However, in HTML5 the
&symbol is now allowed so your code should work just fine.
- The JS script from within the HTML Element will not run in the Editor (even Editor → Preview mode). Preview/View the page from the Frontend (Live/Preview).
Thank you for your guidance, my store code is working after replacing the & with &.