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
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.