Hi,
Can I stop nopCommerce from URL encoding my JS files?
On the top of my page, I added a JS file. When I view my page source, here is how it appears:
<script src=https://optassets.ontraport.com/tracking.js async onload="_mri="192134";_mr_domain="syncwithconnex.ontraport.com";mrtracking()">
Here is how it should look:
<script src='https://optassets.ontraport.com/tracking.js' type='text/javascript' async='true' onload='_mri="192134",_mr_domain="syncwithconnex.ontraport.com",mrtracking();'></script>
Here is my code:
\Nop.Web\Themes\DefaultClean\Views\Shared\_Root.Head.cshtml
<body>
@Html.Partial("_CRMTrackingScript")
</body>