Opened 13 years ago

Last modified 10 years ago

#8807 confirmed Bug

Capital letter in "charset" keyword destroys meta tag. — at Initial Version

Reported by: Jakub Ś Owned by:
Priority: Normal Milestone:
Component: Core : Output Data Version: 3.6
Keywords: Cc:

Description

  1. Open fullPage mode and paste in the below code in head section (notice chaRset)
     <meta content="text/html; chaRset=utf-8" http-equiv="content-type" />
    
  2. Switch to WYSIWYG area and open "Document Properties" dialog.
  3. Notice that "Character Set Encoding" is not recognized and the whole phrase is placed in "Other Character Set Encoding" filed.
  4. Click ok on the dialog and Switch again to Source. Checkout the meta tag - notice the extra charset element
          <meta content="text/html; charset=text/html; chaRset=utf-8" http-equiv="content-type" />
    
  5. If you continue switching to WYSIWYG, opening dialog, clicking ok and switching to source you will get more extra char sets.

Sure that this is invalid code when you use it whit XHTML doctype but I not convinced if this explains destroying meta tag. Maybe making tags/attributes lower case would be more appropriate.

If you think this is correct please close the ticket.

This issue has been reproducible from CKEditor 3.6.

Change History (0)

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