From abcd39f7d52f6a9498b5f09a1d90c87da7c66909 Mon Sep 17 00:00:00 2001
From: Bwko <bouwko@gmail.com>
Date: Sun, 11 Dec 2016 04:01:26 +0100
Subject: [PATCH] In the wiki title replace tab with a space (#371)

---
 models/wiki.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/models/wiki.go b/models/wiki.go
index 89da4571db..1a7ad0e489 100644
--- a/models/wiki.go
+++ b/models/wiki.go
@@ -33,6 +33,7 @@ func ToWikiPageURL(name string) string {
 // that are not belong to wiki repository.
 func ToWikiPageName(urlString string) string {
 	name, _ := url.QueryUnescape(strings.Replace(urlString, "-", " ", -1))
+	name = strings.Replace(name, "\t", " ", -1)
 	return strings.Replace(strings.TrimLeft(name, "./"), "/", " ", -1)
 }