Ver Fonte

no message

xingzai há 1 ano atrás
pai
commit
75058a4aec
1 ficheiros alterados com 1 adições e 1 exclusões
  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)