xingzai пре 1 година
родитељ
комит
402a6c4a9d
1 измењених фајлова са 1 додато и 1 уклоњено
  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