1 diff.inc protected BackdropDiffFormatter::context($lines)

Parameters

$lines:

Overrides DiffFormatter::context

File

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

Class

BackdropDiffFormatter
Backdrop diff formatter which returns diffs as an array.

Code

protected function context($lines) {
  foreach ($lines as $line) {
    $this->rows[] = array_merge($this->contextLine(check_plain($line)), $this->contextLine(check_plain($line)));
  }
}