Index: /CKEditor/trunk/CHANGES.html
===================================================================
--- /CKEditor/trunk/CHANGES.html (revision 5739)
+++ /CKEditor/trunk/CHANGES.html (revision 5740)
@@ -89,4 +89,5 @@
#5634 : IE: It was needed to click twice in the editor to make it editable on some situations.
#5338 : Pasting from Open Office could lead on error.
+ #5224 : Some invalid markup could break the editor.
Updated the following language files:
- #5962 : German;
Index: /CKEditor/trunk/_source/core/htmlparser.js
===================================================================
--- /CKEditor/trunk/_source/core/htmlparser.js (revision 5739)
+++ /CKEditor/trunk/_source/core/htmlparser.js (revision 5740)
@@ -173,4 +173,10 @@
{
tagName = tagName.toLowerCase();
+
+ // There are some tag names that can break things, so let's
+ // simply ignore them when parsing. (#5224)
+ if ( /="/.test( tagName ) )
+ continue;
+
var attribs = {},
attribMatch,