diff --git a/templates/repo/diff/box.tmpl b/templates/repo/diff/box.tmpl
index c3af6bbd1..6f67f3642 100644
--- a/templates/repo/diff/box.tmpl
+++ b/templates/repo/diff/box.tmpl
@@ -77,7 +77,7 @@
{{template "repo/diff/stats" dict "file" . "root" $}}
{{end}}
- {{if $file.IsRenamed}}{{$file.OldName}} → {{end}}{{$file.Name}}{{if .IsLFSFile}} ({{$.i18n.Tr "repo.stored_lfs"}}){{end}}
+ {{if $file.IsRenamed}}{{$file.OldName}} → {{end}}{{$file.Name}}{{if .IsLFSFile}} ({{$.i18n.Tr "repo.stored_lfs"}}){{end}}
{{if $file.IsGenerated}}
{{$.i18n.Tr "repo.diff.generated"}}
{{end}}