@@ -334,7 +334,7 @@ discard block |
||
334 | 334 | } elseif ($this->isImagePlaceholder($placeholder)) { |
335 | 335 | return $this->diffElementsByAttribute($oldText, $newText, 'src', 'img'); |
336 | 336 | } elseif ($this->isPicturePlaceholder($placeholder)) { |
337 | - return $this->diffPicture($oldText, $newText); |
|
337 | + return $this->diffPicture($oldText, $newText); |
|
338 | 338 | } |
339 | 339 | |
340 | 340 | return $this->diffElements($oldText, $newText, $stripWrappingTags); |
@@ -403,13 +403,13 @@ discard block |
||
403 | 403 | protected function diffPicture($oldText, $newText) { |
404 | 404 | if ($oldText !== $newText) { |
405 | 405 | return sprintf( |
406 | - '%s%s', |
|
406 | + '%s%s', |
|
407 | 407 | $this->wrapText($oldText, 'del', 'diffmod'), |
408 | 408 | $this->wrapText($newText, 'ins', 'diffmod') |
409 | 409 | ); |
410 | 410 | } |
411 | 411 | return $this->diffElements($oldText, $newText); |
412 | - } |
|
412 | + } |
|
413 | 413 | |
414 | 414 | protected function diffElementsByAttribute($oldText, $newText, $attribute, $element) |
415 | 415 | { |