From ff7dfadcfee5ee2312f2eeb9bbe8ba6bc7cd12d2 Mon Sep 17 00:00:00 2001 From: Minho Date: Wed, 3 May 2017 08:17:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=90=9C=E7=B4=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- controllers/search.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/search.go b/controllers/search.go index d2cc02c8..97f72f3e 100644 --- a/controllers/search.go +++ b/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 {