}\r
}\r
\r
- function sendPendingBRs()\r
+ function sendPendingBRs( brsToIgnore )\r
{\r
- while ( pendingBRs.length )\r
+ while ( pendingBRs.length - ( brsToIgnore || 0 ) > 0 )\r
currentNode.add( pendingBRs.shift() );\r
}\r
\r
// Parse it.\r
parser.parse( fragmentHtml );\r
\r
- sendPendingBRs();\r
+ // Send all pending BRs except one, which we consider a unwanted bogus. (#5293)\r
+ sendPendingBRs( !CKEDITOR.env.ie && 1 );\r
\r
// Close all pending nodes.\r
while ( currentNode.type )\r