Browse Source

no message

xingzai 9 months ago
parent
commit
31a1e8f05f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      controllers/yanxuan_special.go

+ 1 - 0
controllers/yanxuan_special.go

@@ -100,6 +100,7 @@ func (this *YanxuanSpecialController) List() {
 		//}
 		//v.Content, _ = services.GetReportContentTextSubNew(v.Content)
 		v.Content = services.AnnotationHtml(v.Content)
+		v.Content = strings.Replace(v.Content, " <br> <br>", "", -1)
 		if v.DocUrl != "" {
 			var docs []models.Doc
 			err := json.Unmarshal([]byte(v.DocUrl), &docs)