From f7b257edfeb59e683e7af231105b2812c3a68c72 Mon Sep 17 00:00:00 2001 From: ndbs Date: Mon, 29 Aug 2022 11:55:58 +0800 Subject: [PATCH] =?UTF-8?q?app2.0=20=E6=A0=A1=E5=86=85=E9=80=9A=E7=9F=A5?= =?UTF-8?q?=E5=85=AC=E5=91=8A=E5=AE=A1=E6=A0=B8=E6=AD=A3=E6=96=87=E8=A7=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Learun.Application.WebApi/Modules/NewsApi.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/NewsApi.cs b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/NewsApi.cs index 49c0e354c..4d6bbbc78 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/NewsApi.cs +++ b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/NewsApi.cs @@ -139,6 +139,10 @@ namespace Learun.Application.WebApi.Modules F_SendPostId.Trim(','); shlist.F_SendPostId = F_SendPostId; } + if (!shlist.F_NewsContent.IsEmpty()) + { + shlist.F_NewsContent = WebHelper.HtmlDecode(shlist.F_NewsContent); + } return Success(shlist); }