@@ 253-257 (lines=5) @@ | ||
250 | ) { |
|
251 | $matchingLi = $newListNode->children($indexInNew); |
|
252 | } |
|
253 | if (null !== $matchingLi) { |
|
254 | $htmlDiff = HtmlDiff::create($li->innertext, $matchingLi->innertext, $this->config); |
|
255 | $li->innertext = $htmlDiff->build(); |
|
256 | $indexInNew++; |
|
257 | } |
|
258 | $class = self::CLASS_LIST_ITEM_NONE; |
|
259 | ||
260 | if ($lastOperation === Operation::DELETED && !$replaced) { |
|
@@ 312-316 (lines=5) @@ | ||
309 | if ($indexInNew < $newCount) { |
|
310 | $matchingLi = $newListNode->children($indexInNew); |
|
311 | } |
|
312 | if (null !== $matchingLi) { |
|
313 | $htmlDiff = HtmlDiff::create($li->innertext(), $matchingLi->innertext(), $this->config); |
|
314 | $li->innertext = $htmlDiff->build(); |
|
315 | $indexInNew++; |
|
316 | } |
|
317 | $class = self::CLASS_LIST_ITEM_NONE; |
|
318 | ||
319 | if ($lastOperation === Operation::DELETED) { |