I am creating a Sharepoint 2010 site, and I am finding that after editing HTML in Sharepoint Designer, on saving some code is likely to be removed: "Content in the embedded form may be changed by the the server to remove unsafe content". This is typically where a tag references javascript, eg ... href="javascript:somefunction()" ... . The href disappears completely.
No doubt it has its reasons, but this is a closed system and I need the code there. How do I stop it?