I have a multi line text field. It contains some embed code (script tags). If the content editor this works fine. But in the Experience Editor, saving the page strips the script's tags from this field. I know there is a setting for this on the Rich Text Editor, but this is a multi line text field.
Here is my markup:
<div>
@Html.Raw(Model.EmbedCode)
</div>
Editing is accomplished with a custom experience editor button, so it opens a dialog which allows the user to edit the script. After editing this field, when you save the page, it strips script tags.
This is in Sitecore 8.0 Update 6.