Opened 8 years ago

Last modified 5 years ago

#8807 confirmed Bug

Capital letter in "charset" keyword destroys meta tag when using docProps.

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

Description (last modified by Jakub Ś)

  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 by docProps dialog. Maybe making tags/attributes lower case would be more appropriate.

This issue has been reproducible from CKEditor 3.6.

Change History (3)

comment:1 Changed 8 years ago by Jakub Ś

Status: newconfirmed

comment:2 Changed 8 years ago by Jakub Ś

Description: modified (diff)
Summary: Capital letter in "charset" keyword destroys meta tag.Capital letter in "charset" keyword destroys meta tag when using docProps.

comment:3 Changed 5 years ago by Jakub Ś

Other bugs that concern docProps plugin: #8612, #10645, #12624, #12496.

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy