function _HWLDF_WordAccumulator::_flushGroup in Diff 7.2
Same name and namespace in other branches
- 5.2 DiffEngine.php \_HWLDF_WordAccumulator::_flushGroup()
- 5 DiffEngine.php \_HWLDF_WordAccumulator::_flushGroup()
- 6.2 DiffEngine.php \_HWLDF_WordAccumulator::_flushGroup()
- 6 DiffEngine.php \_HWLDF_WordAccumulator::_flushGroup()
- 7.3 DiffEngine.php \_HWLDF_WordAccumulator::_flushGroup()
2 calls to _HWLDF_WordAccumulator::_flushGroup()
File
- ./
DiffEngine.php, line 954 - A PHP diff engine for phpwiki. (Taken from phpwiki-1.3.3)
Class
- _HWLDF_WordAccumulator
- @todo document @private @subpackage DifferenceEngine
Code
function _flushGroup($new_tag) {
if ($this->_group !== '') {
if ($this->_tag == 'mark') {
$this->_line .= '<span class="diffchange">' . check_plain($this->_group) . '</span>';
}
else {
$this->_line .= check_plain($this->_group);
}
}
$this->_group = '';
$this->_tag = $new_tag;
}