diff --git a/templates/repo/diff/box.tmpl b/templates/repo/diff/box.tmpl
index 2a69fcbc99..fcd2ac9bde 100644
--- a/templates/repo/diff/box.tmpl
+++ b/templates/repo/diff/box.tmpl
@@ -97,7 +97,7 @@
{{if $file.IsRenamed}}{{$file.OldName}} → {{end}}{{$file.Name}}
-
+
{{if and $.DiffBlobExcerptData (not $file.IsSubmodule) (not $file.IsBin) (not $file.IsIncomplete)}}
{{end}}