Merge pull request #45 from pbu88/side_by_side_prefix_bug
Fixes prefix bug on side by side diff
This commit is contained in:
commit
246e459749
1 changed files with 1 additions and 1 deletions
|
|
@ -153,7 +153,7 @@
|
|||
|
||||
for (var i = 0; i < block.lines.length; i++) {
|
||||
var line = block.lines[i];
|
||||
var prefix = line[0];
|
||||
var prefix = line.content[0];
|
||||
var escapedLine = utils.escape(line.content.substr(1));
|
||||
|
||||
if (line.type !== diffParser.LINE_TYPE.INSERTS &&
|
||||
|
|
|
|||
Loading…
Reference in a new issue