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
- 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" />
- Switch to WYSIWYG area and open "Document Properties" dialog.
- Notice that "Character Set Encoding" is not recognized and the whole phrase is placed in "Other Character Set Encoding" filed.
- 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" />
- 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.