浏览代码

no message

xingzai 4 年之前
父节点
当前提交
ac3d4a5116
共有 1 个文件被更改,包括 2 次插入1 次删除
  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