Ticket #7041: 7041.patch
File 7041.patch, 739 bytes (added by , 13 years ago) |
---|
-
_source/core/dom/range.js
1068 1068 if ( commonReached ) 1069 1069 endTop = enlargeable; 1070 1070 else if ( enlargeable ) 1071 this.setEndAfter( enlargeable ); 1072 } 1071 { 1072 var bogus = enlargeable.getName() in CKEDITOR.dtd.$block && enlargeable.getBogus(); 1073 1074 // Exclude bogus <br /> at the end of block. 1075 if ( bogus ) 1076 this.setEndBefore( bogus ); 1077 else 1078 this.setEndAfter( enlargeable ); 1079 } 1080 } 1073 1081 1074 1082 sibling = enlargeable.getNext(); 1075 1083 }