Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#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.

  1. Enter some text
  2. Go to source mode
  3. At the top of the editor enter
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    
  4. Go to wysiwyg mode, text is there
  5. 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 17 years ago by Frederico Caldeira Knabben

Resolution: fixed
Status: newclosed

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>.

comment:2 Changed 17 years ago by Frederico Caldeira Knabben

Milestone: FCKeditor 2.4.1
Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy