diff --git a/editor/js/ui/diff.js b/editor/js/ui/diff.js index fc9d05d30..1f9a64f4a 100644 --- a/editor/js/ui/diff.js +++ b/editor/js/ui/diff.js @@ -1670,10 +1670,10 @@ RED.diff = (function() { for (var j=0;j').appendTo(codeBody); var localLineNo = $('').appendTo(diffRow); var remoteLineNo = $('').appendTo(diffRow); @@ -1688,10 +1688,10 @@ RED.diff = (function() { localLineNo.text(localLine++); } else { line.addClass("unchanged"); - if (localLine > 0) { + if (localLine > 0 && lineText[0] !== '\\' && lineText !== "") { localLineNo.text(localLine++); } - if (remoteLine > 0) { + if (remoteLine > 0 && lineText[0] !== '\\' && lineText !== "") { remoteLineNo.text(remoteLine++); } }