Pārlūkot izejas kodu

In the wiki title replace tab with a space (#371)

tags/v1.0.0
Bwko pirms 7 gadiem
vecāks
revīzija
abcd39f7d5
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1
    0
      models/wiki.go

+ 1
- 0
models/wiki.go Parādīt failu

@@ -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)
}


Notiek ielāde…
Atcelt
Saglabāt