Open the attached testcase ("<body contentEditable="true"><div><br></div></body>"). Type "test", <return>, Select All, Copy, put the caret at the end of the document and Paste. Examine the DOM, and you'll see: <body contentEditable="true"> <div>test</div> <div><div>test</div></div> <div><br></div> </body> It would be nice to avoid the unnecessary nesting, since the divs don't have any properties worth preserving like a border. <rdar://problem/6759298>
Removing InRadar keyword since that one has been closed.
<rdar://problem/7464871>
*** This bug has been marked as a duplicate of bug 24009 ***