IE with a <meta> not in a <p> tag wipes out editor
|Reported by:||mkoepke||Owned by:|
|Component:||General||Version:||SVN (FCKeditor) - Retired|
This is a stupid bug but I thought I'd report it.
Inserting a meta tag in IE wipes out the document. FF works fine.
- Enter some text
- Go to source mode
- At the top of the editor enter
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
- Go to wysiwyg mode, text is there
- Go back to source mode, all that exists is <p><meta http-equiv="Content-Type" content="text/html; charset=windows-1252"></p> Everything else is wiped clean.
If you perform the above but put a </meta> right after <meta...> in step 3, FCK works correctly. It encloses the <meta> in <p>, strips the </meta> and everything else is there.
This problem was found when pasting output from FrontPage (either directly into the wysiwyg mode or into source mode). With FireFox it handled this correctly. Note: that FrontPage also includes <head>, <title> and <body> tags that FCK correctly handled and stripped out.