Browse Source

优化搜索

Minho 8 years ago
parent
commit
ff7dfadcfe
1 changed files with 1 additions and 1 deletions
  1. 1 1
      controllers/search.go

+ 1 - 1
controllers/search.go

@@ -68,7 +68,7 @@ func (c *SearchController) Index()  {
 					//去除连续的换行符
 					re, _ = regexp.Compile("\\s{2,}")
 					src = re.ReplaceAllString(src, "\n")
-					
+
 					r := []rune(src)
 					beego.Info(r)
 					if len(r) > 100 {