Преглед изворни кода

Merge branch 'bzq/knowledge_Bi' of eta_gn_server/eta_api into debug

baoziqiang пре 7 месеци
родитељ
комит
e6cce281dd
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      services/knowledge/es.go

+ 1 - 0
services/knowledge/es.go

@@ -177,6 +177,7 @@ func ExtractTextFromResourceContent(content string) (text string) {
 		return
 	}
 	text = doc.Text()
+	text = strings.ReplaceAll(text, "\n", "")
 	return
 }