Skip to content

Commit 4e7fcaa

Browse files
committed
Merge pull request #3 from AnhNhan/fix_lineplacement
Fixing line number placement for inline renderer
2 parents d526296 + e2ac602 commit 4e7fcaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Diff/Renderer/Html/Inline.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,8 @@ public function render()
128128
foreach($change['changed']['lines'] as $no => $line) {
129129
$toLine = $change['changed']['offset'] + $no + 1;
130130
$html .= '<tr>';
131-
$html .= '<th>'.$toLine.'</th>';
132131
$html .= '<th>&nbsp;</th>';
132+
$html .= '<th>'.$toLine.'</th>';
133133
$html .= '<td class="Right"><span>'.$line.'</span></td>';
134134
$html .= '</tr>';
135135
}

0 commit comments

Comments
 (0)