| Index: Source/WebCore/editing/InsertParagraphSeparatorCommand.cpp
|
| ===================================================================
|
| --- Source/WebCore/editing/InsertParagraphSeparatorCommand.cpp (revision 120113)
|
| +++ Source/WebCore/editing/InsertParagraphSeparatorCommand.cpp (working copy)
|
| @@ -376,12 +376,7 @@
|
| }
|
| }
|
|
|
| - while (n && n != blockToInsert) {
|
| - Node *next = n->nextSibling();
|
| - removeNode(n);
|
| - appendNode(n, blockToInsert);
|
| - n = next;
|
| - }
|
| + moveRemainingSiblingsToNewParent(n, blockToInsert.get(), blockToInsert);
|
| }
|
|
|
| // Handle whitespace that occurs after the split
|
|
|