Index: _source/core/htmlparser/fragment.js =================================================================== --- _source/core/htmlparser/fragment.js (revision 5266) +++ _source/core/htmlparser/fragment.js (revision ) @@ -353,7 +353,7 @@ parser.onText = function( text ) { // Trim empty spaces at beginning of element contents except
. - if ( !currentNode._.hasInlineStarted && !inPre ) + if ( ( !currentNode._.hasInlineStarted || pendingBRs.length ) && !inPre ) { text = CKEDITOR.tools.ltrim( text );