protected HWLDFWordAccumulator::_flushGroup($new_tag)
File
- core/lib/Drupal/Component/Diff/Engine/HWLDFWordAccumulator.php, line 31
Class
- HWLDFWordAccumulator
- @todo document @private @subpackage DifferenceEngine
Namespace
Drupal\Component\Diff\Engine
Code
1 2 3 4 5 6 7 8 9 10 11 12 | protected function _flushGroup( $new_tag ) { if ( $this ->group !== '' ) { if ( $this ->tag == 'mark' ) { $this ->line = $this ->line . '<span class="diffchange">' . $this ->group . '</span>' ; } else { $this ->line = $this ->line . $this ->group; } } $this ->group = '' ; $this ->tag = $new_tag ; } |
Please login to continue.