xingzai il y a 1 an
Parent
commit
75058a4aec
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      controllers/tactics.go

+ 1 - 1
controllers/tactics.go

@@ -97,7 +97,7 @@ func (this *TacticsController) List() {
 				list[k].IsRed = true
 			}
 		}
-		list[k].Abstract = html.UnescapeString(v.Abstract)
+		list[k].Abstract, _ = services.GetReportContentTextSub(v.Abstract)
 	}
 	if categoryId > 0 {
 		detail, errCategory := models.GetCygxReportMappingCygxByCategoryId(categoryId)