xingzai 1 anno fa
parent
commit
75058a4aec
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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)