Skip to content

Commit 656c116

Browse files
committed
Fixup
1 parent c0a90c5 commit 656c116

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

selectolax/lexbor/node.pxi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ cdef class LexborNode:
458458
lxb_dom_node_insert_before(self.node, self.node.first_child)
459459
replacing_node = self.node.first_child
460460
lxb_dom_node_destroy(<lxb_dom_node_t *> self.node)
461-
self.node = current_node_tmp
461+
self.node = replacing_node
462462

463463
def unwrap_tags(self, list tags, delete_empty = False):
464464
"""Unwraps specified tags from the HTML tree.

0 commit comments

Comments
 (0)