diff --git a/templates/repo/commits_table.tmpl b/templates/repo/commits_table.tmpl
index 53c2f98f4df95..ca0f806324a26 100644
--- a/templates/repo/commits_table.tmpl
+++ b/templates/repo/commits_table.tmpl
@@ -14,7 +14,7 @@
-
+
{{else if .IsDiffCompare}}
{{ShortSha .BeforeCommitID}} ... {{ShortSha .AfterCommitID}}
diff --git a/templates/repo/issue/labels.tmpl b/templates/repo/issue/labels.tmpl
index 877ba1c176663..0d0f1ee9753bb 100644
--- a/templates/repo/issue/labels.tmpl
+++ b/templates/repo/issue/labels.tmpl
@@ -57,7 +57,7 @@
{{template "base/alert" .}}
-
{{.i18n.Tr "repo.issues.label_count" .NumLabels}}
+ {{.i18n.Tr "repo.issues.label_count" .NumLabels}}
{{if and (or $.CanWriteIssues $.CanWritePulls) (eq .NumLabels 0) (not $.Repository.IsArchived) }}
diff --git a/templates/repo/issue/list.tmpl b/templates/repo/issue/list.tmpl
index edf88ebf41e5a..62f009cfea426 100644
--- a/templates/repo/issue/list.tmpl
+++ b/templates/repo/issue/list.tmpl
@@ -185,7 +185,7 @@
-
#{{.Index}}
+
#{{.Index}}
{{.Title}}
{{if .Ref}}
diff --git a/templates/repo/issue/milestone_issues.tmpl b/templates/repo/issue/milestone_issues.tmpl
index 04510a4b46c44..55ec31372fefe 100644
--- a/templates/repo/issue/milestone_issues.tmpl
+++ b/templates/repo/issue/milestone_issues.tmpl
@@ -168,7 +168,7 @@
-
#{{.Index}}
+
#{{.Index}}
{{.Title}}
{{if .Ref}}