diff --git a/src/admin/Bootstrap.Admin/Startup.cs b/src/admin/Bootstrap.Admin/Startup.cs index ae3f6aa5..ce258b32 100644 --- a/src/admin/Bootstrap.Admin/Startup.cs +++ b/src/admin/Bootstrap.Admin/Startup.cs @@ -14,6 +14,8 @@ using Microsoft.Extensions.Hosting; using Newtonsoft.Json; using Newtonsoft.Json.Serialization; using System; +using System.Text.Encodings.Web; +using System.Text.Unicode; namespace Bootstrap.Admin { @@ -43,7 +45,7 @@ namespace Bootstrap.Admin /// public void ConfigureServices(IServiceCollection services) { - //services.AddSingleton(HtmlEncoder.Create(UnicodeRanges.All)); + services.AddSingleton(HtmlEncoder.Create(UnicodeRanges.All)); services.Configure(options => { // This lambda determines whether user consent for non-essential cookies is needed for a given request.