diff --git a/src/core/operations/StrUtils.js b/src/core/operations/StrUtils.js index 093de39b..af34c152 100755 --- a/src/core/operations/StrUtils.js +++ b/src/core/operations/StrUtils.js @@ -359,9 +359,9 @@ const StrUtils = { for (let i = 0; i < diff.length; i++) { if (diff[i].added) { - if (showAdded) output += "" + Utils.escapeHtml(diff[i].value) + ""; + if (showAdded) output += "" + Utils.escapeHtml(diff[i].value) + ""; } else if (diff[i].removed) { - if (showRemoved) output += "" + Utils.escapeHtml(diff[i].value) + ""; + if (showRemoved) output += "" + Utils.escapeHtml(diff[i].value) + ""; } else { output += Utils.escapeHtml(diff[i].value); } @@ -424,7 +424,7 @@ const StrUtils = { } if (match && !inMatch) { - outputs[s] += "" + Utils.escapeHtml(samples[s][i]); + outputs[s] += "" + Utils.escapeHtml(samples[s][i]); if (samples[s].length === i + 1) outputs[s] += ""; if (s === samples.length - 1) inMatch = true; } else if (!match && inMatch) {