Ticket #7087: 7087.patch
File 7087.patch, 944 bytes (added by , 13 years ago) |
---|
-
_source/core/dom/walker.js
436 436 { 437 437 return isBookmark( node ) 438 438 || isWhitespaces( node ) 439 || node.type == CKEDITOR.NODE_ELEMENT && node.getName() in CKEDITOR.dtd.$removeEmpty; 439 || node.type == CKEDITOR.NODE_ELEMENT 440 && node.getName() in CKEDITOR.dtd.$inline 441 && !( node.getName() in CKEDITOR.dtd.$empty ); 440 442 }; 441 443 442 444 // Check if there's a filler node at the end of an element, and return it. 443 445 CKEDITOR.dom.element.prototype.getBogus = function() 444 446 { 445 // Bogus are not always at the end, e.g. <p>< strong>text<br /></strong></p> (#7070).447 // Bogus are not always at the end, e.g. <p><a>text<br /></a></p> (#7070). 446 448 var tail = this; 447 449 do { tail = tail.getPreviousSourceNode(); } 448 450 while ( toSkip( tail ) )