Index: /CKEditor/trunk/CHANGES.html
===================================================================
--- /CKEditor/trunk/CHANGES.html (revision 7217)
+++ /CKEditor/trunk/CHANGES.html (revision 7218)
@@ -66,4 +66,5 @@
#7908 : [IE] Unlink command is sometimes missing from the context menu of a link.
#8159 : Editor fails to load if the browser has no default language set.
+ #7490 : [IE] Block format leaks to the next unselected line in BR enter mode.
Updated the following language files:
- #8128 : Italian;
Index: /CKEditor/trunk/_source/core/dom/range.js
===================================================================
--- /CKEditor/trunk/_source/core/dom/range.js (revision 7217)
+++ /CKEditor/trunk/_source/core/dom/range.js (revision 7218)
@@ -1321,4 +1321,20 @@
CKEDITOR.POSITION_AFTER_END );
+ // Avoid enlarging the range further when end boundary spans right after the BR. (#7490)
+ if ( unit == CKEDITOR.ENLARGE_LIST_ITEM_CONTENTS )
+ {
+ var theRange = this.clone();
+ walker = new CKEDITOR.dom.walker( theRange );
+
+ var whitespaces = CKEDITOR.dom.walker.whitespaces(),
+ bookmark = CKEDITOR.dom.walker.bookmark();
+
+ walker.evaluator = function( node ) { return !whitespaces( node ) && !bookmark( node ); };
+ var previous = walker.previous();
+ if ( previous && previous.type == CKEDITOR.NODE_ELEMENT && previous.is( 'br' ) )
+ return;
+ }
+
+
// Enlarging the end boundary.
walkerRange = this.clone();