#255 closed Bug (fixed)
IE with a <meta> not in a <p> tag wipes out editor
Reported by: | Mike Koepke | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | FCKeditor 2.4.1 |
Component: | General | Version: | SVN (FCKeditor) - Retired |
Keywords: | Cc: |
Description
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.
Change History (2)
comment:1 Changed 18 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 Changed 18 years ago by
Milestone: | → FCKeditor 2.4.1 |
---|
Fixed with [219].
Click here for more info about our SVN system.
Remains the fact that <meta> is moved inside a <p>, but is also a fact that <meta> must be in <head>, and not <body>.