1 diff.inc private HWLDFWordAccumulator::flushLine($new_tag)

Parameters

$new_tag:

File

core/includes/diff.inc, line 824
A PHP diff engine for phpwiki. (Taken from phpwiki-1.3.3)

Class

HWLDFWordAccumulator

Code

private function flushLine($new_tag) {
  $this->flushGroup($new_tag);
  if ($this->line != '') {
    array_push($this->lines, $this->line);
  }
  else {
    # make empty lines visible by inserting an NBSP
    array_push($this->lines, ' ');
  }
  $this->line = '';
}