diff --git a/templates/repo/issue/list.tmpl b/templates/repo/issue/list.tmpl
index a7311c2490..d739561d27 100644
--- a/templates/repo/issue/list.tmpl
+++ b/templates/repo/issue/list.tmpl
@@ -215,9 +215,9 @@
{{if not .Repository.IsArchived}}
{{if .IsShowClosed}}
-
+
{{else}}
-
+
{{end}}
diff --git a/templates/repo/issue/milestone_issues.tmpl b/templates/repo/issue/milestone_issues.tmpl
index a1fc245887..82d2cac943 100644
--- a/templates/repo/issue/milestone_issues.tmpl
+++ b/templates/repo/issue/milestone_issues.tmpl
@@ -51,7 +51,7 @@