             var wrapperElement: ElementNode?
             
             if let sibling = rightSibling {
-                sibling.prepend(childrenToWrap)
+                sibling.prepend(childrenToWrap, tryToMergeWithSiblings: false)
                 childrenToWrap = sibling.children
                 
                 wrapperElement = sibling
             }
             
             if let sibling = leftSibling {
-                sibling.append(childrenToWrap)
+                sibling.append(childrenToWrap, tryToMergeWithSiblings: false)
                 childrenToWrap = sibling.children
                 
                 wrapperElement = sibling

        /// - Parameters:
        ///     - child: the node to prepend.
        ///
        func prepend(_ child: Node) {
            insert(child, at: 0)
        }

        /// Prepends children to the list of children for this element.

        /// - Parameters:
        ///     - child: the node to append.
        ///
        func append(_ child: Node, tryToMergeWithSiblings: Bool = true) {
            insert(child, at: children.count, tryToMergeWithSiblings: tryToMergeWithSiblings)
        }
        
        /// Appends a node to the list of children for this element.
