Skip to content

Commit 9ecbc35

Browse files
committed
Fix extra dangling line numbers from marker lines
1 parent 7715867 commit 9ecbc35

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

html/lib/diffHighlighter.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,8 +240,6 @@ var highlightDiff = function(diff, element, callbacks) {
240240
line2 += ++hunk_start_line_2 + "\n";
241241
diffContent += "<div " + sindex + "class='noopline'>" + l + "</div>";
242242
} else if (firstChar == "\\") {
243-
line1 += ++hunk_start_line_1 + "\n";
244-
line2 += ++hunk_start_line_2 + "\n";
245243
diffContent += "<div " + sindex + "class='markerline'>" + l + "</div>";
246244
}
247245
lindex++;

0 commit comments

Comments
 (0)