aboutsummaryrefslogtreecommitdiffstats
path: root/services/gitdiff/highlightdiff.go
diff options
context:
space:
mode:
Diffstat (limited to 'services/gitdiff/highlightdiff.go')
-rw-r--r--services/gitdiff/highlightdiff.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/gitdiff/highlightdiff.go b/services/gitdiff/highlightdiff.go
index 5891e61249..6e18651d83 100644
--- a/services/gitdiff/highlightdiff.go
+++ b/services/gitdiff/highlightdiff.go
@@ -99,7 +99,7 @@ func (hcd *highlightCodeDiff) diffLineWithHighlightWrapper(lineWrapperTags []str
dmp := defaultDiffMatchPatch()
diffs := dmp.DiffMain(convertedCodeA, convertedCodeB, true)
- diffs = dmp.DiffCleanupEfficiency(diffs)
+ diffs = dmp.DiffCleanupSemantic(diffs)
buf := bytes.NewBuffer(nil)