diff --git a/src/cleaner.coffee b/src/cleaner.coffee index 781f189..6c87ccf 100644 --- a/src/cleaner.coffee +++ b/src/cleaner.coffee @@ -124,7 +124,7 @@ getReplacementNodes = (doc, div) -> replacementText.push(outer) nodesToRemove.push(nextSiblingNode) nextSiblingNode.attr('grv-usedalready', 'yes') - previousSiblingNode = nextSiblingNode.next() + nextSiblingNode = nextSiblingNode.next() # otherwise else