Index: /CKEditor/trunk/CHANGES.html
===================================================================
--- /CKEditor/trunk/CHANGES.html	(revision 6962)
+++ /CKEditor/trunk/CHANGES.html	(revision 6963)
@@ -76,4 +76,5 @@
 		<li><a href="http://dev.ckeditor.com/ticket/7158">#7158</a> : Width and height fields in the iframe dialog are now synchronized with the style field.</li>
 		<li><a href="http://dev.ckeditor.com/ticket/7893">#7893</a> : [Webkit, Opera] It was impossible to link to anchors in the document.</li>
+		<li><a href="http://dev.ckeditor.com/ticket/7637">#7637</a> : Cursor position problematic after inserting page break in some cases.</li>
 		<li>Updated the following language files:<ul>
 			<li><a href="http://dev.ckeditor.com/ticket/7834">#7834</a> : Dutch;</li>
Index: /CKEditor/trunk/_source/plugins/horizontalrule/plugin.js
===================================================================
--- /CKEditor/trunk/_source/plugins/horizontalrule/plugin.js	(revision 6962)
+++ /CKEditor/trunk/_source/plugins/horizontalrule/plugin.js	(revision 6963)
@@ -15,5 +15,17 @@
 		exec : function( editor )
 		{
-			editor.insertElement( editor.document.createElement( 'hr' ) );
+			var hr = editor.document.createElement( 'hr' ),
+				range = new CKEDITOR.dom.range( editor.document );
+
+			editor.insertElement( hr );
+
+			// If there's nothing or a non-editable block followed by, establish a new paragraph
+			// to make sure cursor is not trapped.
+			range.moveToPosition( hr, CKEDITOR.POSITION_AFTER_END );
+			var next = hr.getNext();
+			if ( !next || next.type == CKEDITOR.NODE_ELEMENT && !next.isEditable() )
+				range.fixBlock( true, editor.config.enterMode == CKEDITOR.ENTER_DIV ? 'div' : 'p'  );
+
+			range.select();
 		}
 	};
