Index: _source/core/dom/walker.js =================================================================== --- _source/core/dom/walker.js (revision 6382) +++ _source/core/dom/walker.js (revision ) @@ -436,13 +436,15 @@ { return isBookmark( node ) || isWhitespaces( node ) - || node.type == CKEDITOR.NODE_ELEMENT && node.getName() in CKEDITOR.dtd.$removeEmpty; + || node.type == CKEDITOR.NODE_ELEMENT + && node.getName() in CKEDITOR.dtd.$inline + && !( node.getName() in CKEDITOR.dtd.$empty ); }; // Check if there's a filler node at the end of an element, and return it. CKEDITOR.dom.element.prototype.getBogus = function() { - // Bogus are not always at the end, e.g.
text