From 701f5b1e7522b529800cc5f3aab3d2d8e9b4a27d Mon Sep 17 00:00:00 2001 From: Anton Dolgov Date: Tue, 31 Oct 2023 15:26:37 +0500 Subject: [PATCH] FileBase: JsonSerialize exclude only HTML symbols --- src/Parsec/Shaiya/Core/FileBase.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Parsec/Shaiya/Core/FileBase.cs b/src/Parsec/Shaiya/Core/FileBase.cs index 132693bd..62913b2c 100644 --- a/src/Parsec/Shaiya/Core/FileBase.cs +++ b/src/Parsec/Shaiya/Core/FileBase.cs @@ -52,7 +52,7 @@ public virtual string JsonSerialize(FileBase obj, params string[] ignoredPropert { ContractResolver = new CamelCasePropertyNamesContractResolver(), DefaultValueHandling = DefaultValueHandling.Include, - StringEscapeHandling = StringEscapeHandling.EscapeNonAscii, + StringEscapeHandling = StringEscapeHandling.EscapeHtml, Formatting = Formatting.Indented };