Note: you should HTML-escape parameter before calling this.
File
- drupal/core/lib/Drupal/Component/Diff/DiffEngine.php, line 1171
- A PHP diff engine for phpwiki. (Taken from phpwiki-1.3.3)
Class
- DrupalDiffFormatter
- Diff formatter which uses Drupal theme functions.
@private
@subpackage DifferenceEngine
Code
function contextLine($line) {
return array(
' ',
array(
'data' => $line,
'class' => 'diff-context',
),
);
}