diff --git a/templates/repo/graph/commits.tmpl b/templates/repo/graph/commits.tmpl
index 8cd6adb04..8f3260ba5 100644
--- a/templates/repo/graph/commits.tmpl
+++ b/templates/repo/graph/commits.tmpl
@@ -68,7 +68,7 @@
{{$userName = $commit.User.FullName}}
{{end}}
{{avatar $commit.User}}
- {{$userName}}
+ {{$userName}}
{{else}}
{{avatarByEmail $commit.Commit.Author.Email $userName}}
{{$userName}}