|
@@ 262-266 (lines=5) @@
|
| 259 |
|
) { |
| 260 |
|
$matchingLi = $newListNode->children($indexInNew); |
| 261 |
|
} |
| 262 |
|
if (null !== $matchingLi) { |
| 263 |
|
$htmlDiff = HtmlDiff::create($li->innertext, $matchingLi->innertext, $this->config); |
| 264 |
|
$li->innertext = $htmlDiff->build(); |
| 265 |
|
$indexInNew++; |
| 266 |
|
} |
| 267 |
|
$class = self::CLASS_LIST_ITEM_NONE; |
| 268 |
|
|
| 269 |
|
if ($lastOperation === Operation::DELETED && !$replaced) { |
|
@@ 320-324 (lines=5) @@
|
| 317 |
|
if ($indexInNew < $newCount) { |
| 318 |
|
$matchingLi = $newListNode->children($indexInNew); |
| 319 |
|
} |
| 320 |
|
if (null !== $matchingLi) { |
| 321 |
|
$htmlDiff = HtmlDiff::create($li->innertext(), $matchingLi->innertext(), $this->config); |
| 322 |
|
$li->innertext = $htmlDiff->build(); |
| 323 |
|
$indexInNew++; |
| 324 |
|
} |
| 325 |
|
$class = self::CLASS_LIST_ITEM_NONE; |
| 326 |
|
|
| 327 |
|
if ($lastOperation === Operation::DELETED) { |