Skip to content

Commit

Permalink
Merge pull request #3 from AnhNhan/fix_lineplacement
Browse files Browse the repository at this point in the history
Fixing line number placement for inline renderer
  • Loading branch information
everzet committed Apr 7, 2016
2 parents d526296 + e2ac602 commit 4e7fcaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Diff/Renderer/Html/Inline.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ public function render()
foreach($change['changed']['lines'] as $no => $line) {
$toLine = $change['changed']['offset'] + $no + 1;
$html .= '<tr>';
$html .= '<th>'.$toLine.'</th>';
$html .= '<th>&nbsp;</th>';
$html .= '<th>'.$toLine.'</th>';
$html .= '<td class="Right"><span>'.$line.'</span></td>';
$html .= '</tr>';
}
Expand Down

0 comments on commit 4e7fcaa

Please sign in to comment.