xingzai 1 rok temu
rodzic
commit
75058a4aec
1 zmienionych plików z 1 dodań i 1 usunięć
  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)