function _changed($orig, $closing) { $diff = new InlineWordLevelDiff($orig, $closing); $add = $diff->inline(); foreach ($add as $line) { print '<tr><td colspan="' . $this->colspan . '">' . $line . "</td></tr>\n"; } }
function _changed($orig, $closing) { $diff = new InlineWordLevelDiff($orig, $closing); // this escapes the diff data $add = $diff->inline(); foreach ($add as $line) { print '<tr><td ' . HTMLDiff::css('diff-lineheader') . '> </td><td>' . $line . "</td></tr>\n"; } }