Closed vladvlasov256 closed 6 years ago
HTMLNode.m, line 128
- (HTMLElement *)nextSiblingElement { HTMLNode *node = self.previousSibling; while (node && node.nodeType != HTMLNodeElement) { node = node.nextSibling; } return node.asElement; }
Because of an iteration starts with a previous element the next sibling element it the element itself. Possibly a typo.
@CRivlaldo Nice catch! Thanks for the fix. Will release soon.
HTMLNode.m, line 128
Because of an iteration starts with a previous element the next sibling element it the element itself. Possibly a typo.