Umlaute werden falsch escaped
This commit is contained in:
@@ -4,6 +4,7 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Text.Encodings.Web;
|
||||
using System.Text.Json;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
@@ -13,7 +14,7 @@ namespace AICore.Context.SummaryParser
|
||||
{
|
||||
public override string Parse(AiActionType actionType, IContextSummary context)
|
||||
{
|
||||
var options = new JsonSerializerOptions { IncludeFields = true };
|
||||
var options = new JsonSerializerOptions { Encoder = JavaScriptEncoder.UnsafeRelaxedJsonEscaping, IncludeFields = true };
|
||||
|
||||
var json = "{}";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user