Magento WYSIWYG Editor is known to break up advanced HTML. To disable it please do following:
- Log in to Magento administrator control panel.
- Go To System > Configuration > Content Management.
- Set Enable WYSIWYG Editor = “Disabled Completely”.
- Click on Save Config (button located in top right corner) .