Skip to content
Snippets Groups Projects
Commit 45c54ada authored by Marijn Haverbeke's avatar Marijn Haverbeke
Browse files

[merge addon] Don't use DMP's cleanupSemantic function

It sometimes produces invalid output.

Closes #4410
parent 12bece3a
No related branches found
No related tags found
No related merge requests found
......@@ -571,7 +571,6 @@
var dmp = new diff_match_patch();
function getDiff(a, b) {
var diff = dmp.diff_main(a, b);
dmp.diff_cleanupSemantic(diff);
// The library sometimes leaves in empty parts, which confuse the algorithm
for (var i = 0; i < diff.length; ++i) {
var part = diff[i];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment