return lines.join("\n"); 
return lines.join("\r\n"); 
function convertDiff(name, table) {  var inline = table.className == 'inline';  var ths = table.tHead.rows[0].cells;  var lines = [    "Index: " + name,    "===================================================================",    "--- " + (inline ? ths[0].title : $(ths[0]).find('a').text()),    "+++ " + (inline ? ths[1].title : $(ths[1]).find('a').text()),  ];  var sepIndex = 0;  var oldOffset = 0, oldLength = 0, newOffset = 0, newLength = 0;  for (var i = 0; i < table.tBodies.length; i++) {    var tBody = table.tBodies[i];    if (i == 0 || tBody.className == "skipped") {      if (i > 0) {        if (!oldOffset && oldLength) oldOffset = 1        if (!newOffset && newLength) newOffset = 1        lines[sepIndex] = lines[sepIndex]          .replace("{1}", oldOffset).replace("{2}", oldLength)          .replace("{3}", newOffset).replace("{4}", newLength);      }      sepIndex = lines.length;      lines.push("@@ -{1},{2}, +{3},{4} @@");      oldOffset = 0, oldLength = 0, newOffset = 0, newLength = 0;      if (tBody.className == "skipped") continue;    }    var tmpLines = [];    for (var j = 0; j < tBody.rows.length; j++) {      var cells = tBody.rows[j].cells;      var oldLineNo = parseInt($(cells[0]).text());      var newLineNo = parseInt($(cells[inline ? 1 : 2]).text());      if (tBody.className == 'unmod') {        lines.push("  " + $(cells[inline ? 2 : 1]).text());        oldLength += 1;        newLength += 1;        if (!oldOffset) oldOffset = oldLineNo;        if (!newOffset) newOffset = newLineNo;      } else {        var oldLine;        var newLine;        if (inline) {          oldLine = newLine = $(cells[2]).text();        } else {          oldLine = $(cells[1]).text();          newLine = $(cells[3]).text();        }        if (!isNaN(oldLineNo)) {          lines.push("- " + oldLine);          oldLength += 1;        }        if (!isNaN(newLineNo)) {          tmpLines.push("+ " + newLine);          newLength += 1;        }      }    }    if (tmpLines.length > 0) {      lines = lines.concat(tmpLines);    }  }  if (!oldOffset && oldLength) oldOffset = 1  if (!newOffset && newLength) newOffset = 1  lines[sepIndex] = lines[sepIndex]    .replace("{1}", oldOffset).replace("{2}", oldLength)    .replace("{3}", newOffset).replace("{4}", newLength);  return lines.join("\n");}
1293	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1293/c5e553d3be9c024eb151ae9c5b520c0b0071af84/diff.js/buggy/trac/htdocs/js/diff.js