diff --git a/templates/repo/wiki/search.tmpl b/templates/repo/wiki/search.tmpl
index d3af9bdcb2..0bccd40840 100644
--- a/templates/repo/wiki/search.tmpl
+++ b/templates/repo/wiki/search.tmpl
@@ -1,9 +1,9 @@
{{if .Results}}
{{range .Results}}
-
- {{.Filename}}
+
+ {{.Filename}}
{{range .LineCodes}}
- {{.}} {{.}}