xingzai 1 tahun lalu
induk
melakukan
402a6c4a9d
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      controllers/yanxuan_special.go

+ 1 - 1
controllers/yanxuan_special.go

@@ -241,7 +241,7 @@ func (this *YanxuanSpecialController) Detail() {
 	}
 
 	if resp.HasPermission != 1 || sysUser.UserId == 0 {
-		resp.Content = utils.InterceptHtmlLength(resp.Content, 240)
+		resp.Content = services.AnnotationHtml(resp.Content)
 	}
 
 	br.Data = resp