'How to Keep " from changing to " and other special characters
Is there a way to keep the JS from the form embedded on this page (https://zinniawealth.com/events/cf-lecanto-zinnia-u-retirement-today-2/) from changing special characters to HTML code? Mainly " to "
It goes from
<script type="text/javascript" id="aoform-script-32e42644-e460-4e3a-981d-e6c871a24900:d-0001">!function(o,t,e,a){o._aoForms=o._aoForms||[],o._aoForms.push(a);var n=function(){var o=t.createElement(e);o.src=("https:"==t.location.protocol?"https://":"http://")+"marketing.zinniawealth.com/acton/content/form_embed.js",o.async=!0;for(var a=t.getElementsByTagName(e)[0],n=a.parentNode,c=document.getElementsByTagName("script"),r=!1,s=0;s<c.length;s++){if(c[s].getAttribute("src")==o.getAttribute("src"))r=!0;}r?typeof(_aoFormLoader)!="undefined"?_aoFormLoader.load({id:"32e42644-e460-4e3a-981d-e6c871a24900:d-0001",accountId:"39197",domain:"marketing.zinniawealth.com",isTemp:false,noStyle:false,prefill:false}):"":n.insertBefore(o,a)};window.attachEvent?window.attachEvent("onload",n):window.addEventListener("load",n,!1),n()}(window,document,"script",{id:"32e42644-e460-4e3a-981d-e6c871a24900",accountId:"39197",domain:"marketing.zinniawealth.com",isTemp:false,noStyle:false,prefill:false});</script>
To
<script type="text/javascript" id="aoform-script-32e42644-e460-4e3a-981d-e6c871a24900:d-0001">!function(o,t,e,a){o._aoForms=o._aoForms||[],o._aoForms.push(a);var n=function(){var o=t.createElement(e);o.src=("https:"==t.location.protocol?"https://":"http://")+"marketing.zinniawealth.com/acton/content/form_embed.js",o.async=!0;for(var a=t.getElementsByTagName(e)[0],n=a.parentNode,c=document.getElementsByTagName("script"),r=!1,s=0;s<c.length;s++){if(c[s].getAttribute("src")==o.getAttribute("src"))r=!0;}r?typeof(_aoFormLoader)!="undefined"?_aoFormLoader.load({id:"32e42644-e460-4e3a-981d-e6c871a24900:d-0001",accountId:"39197",domain:"marketing.zinniawealth.com",isTemp:false,noStyle:true,prefill:false}):"":n.insertBefore(o,a)};window.attachEvent?window.attachEvent("onload",n):window.addEventListener("load",n,!1),n()}(window,document,"script",{id:"32e42644-e460-4e3a-981d-e6c871a24900",accountId:"39197",domain:"marketing.zinniawealth.com",isTemp:false,noStyle:true,prefill:false});</script>
Here you can see where this page changes the original JS code.

Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
