WebUtility.HtmlDecode replacement in .NET Core

后端 未结 6 544
故里飘歌
故里飘歌 2020-12-09 00:39

I need to decode HTML characters in .NET Core (MVC6). It looks like .NET Core doesn\'t have WebUtility.HtmlDecode function which everybody used for that purpose before. Is t

6条回答
  •  一整个雨季
    2020-12-09 01:21

    I've found the HtmlDecode function in the WebUtility library to work.

    System.Net.WebUtility.HtmlDecode(string)
    

提交回复
热议问题