浏览代码

no message

xingzai 1 年之前
父节点
当前提交
329fde9661
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      services/article.go

+ 1 - 1
services/article.go

@@ -1947,7 +1947,7 @@ func AnnotationHtml(bodyText string) (annotation string) {
 	p := doc.Find("p")
 	p.Each(func(tk int, pd *goquery.Selection) {
 		pdText := pd.Text()
-		pdText = strings.Replace(pdText, " ", "", -1)
+		//pdText = strings.Replace(pdText, " ", "", -1)
 		if pdText != "" {
 			textLen := strings.Index(docText, pdText)
 			mapDoc[(strings.Index(docText, pdText))] = pdText