Browse Source

no message

xingzai 4 năm trước cách đây
mục cha
commit
ac3d4a5116
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      controllers/article.go

+ 2 - 1
controllers/article.go

@@ -70,7 +70,8 @@ func (this *ArticleController) Detail() {
 			return
 		}
 		detail.Body = html.UnescapeString(detail.Body)
-		detail.Abstract = html.UnescapeString(detail.Abstract)
+		//detail.Abstract = html.UnescapeString(detail.Abstract)
+		detail.Abstract, _ = services.GetReportContentTextSub(detail.Abstract)
 		if companyPermission == "" {
 			if applyCount > 0 {
 				hasPermission = 5