I am trying to add the following script to a post and even if I set the formatting for the field to none it still switches out all ” for html entities, which presumably is why the script ends up not working.
<div class="ImageMiddle">
[removed]
amzn_assoc_placement = "adunit0";
amzn_assoc_search_bar = "false";
amzn_assoc_tracking_id = "XXX";
amzn_assoc_ad_mode = "manual";
amzn_assoc_ad_type = "smart";
amzn_assoc_marketplace = "amazon";
amzn_assoc_region = "US";
amzn_assoc_title = "";
amzn_assoc_linkid = "XXX";
amzn_assoc_asins = "B07255R5VV,B0711SHDFQ,B0714D3SYP,B06XNXCSDT,B071RNKJ4T,B0716YVRM7";
[removed]
[removed][removed]
</div>
Is there any way to accomplish this? Or is there some issue with selecting None for the field at the entry stage, does that not override the default properly? The text before it also comes out enclosed in paragraph tags.
Edited to add: even enclosed in code tags, it seems the forum strips out the script tags, but they are of course there.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.