mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-17 06:11:16 +03:00
[Wiki] loc fix (#3483)
This commit is contained in:
parent
1cc0f83350
commit
d326420204
1 changed files with 3 additions and 1 deletions
|
|
@ -1,8 +1,9 @@
|
|||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Text.Encodings.Web;
|
||||
using System.Text.Json;
|
||||
using System.Text.RegularExpressions;
|
||||
using Robust.Shared.ContentPack;
|
||||
using Robust.Shared.Utility;
|
||||
|
||||
|
|
@ -93,6 +94,7 @@ public static class LocJsonGenerator
|
|||
var serializeOptions = new JsonSerializerOptions
|
||||
{
|
||||
WriteIndented = true,
|
||||
Encoder = JavaScriptEncoder.UnsafeRelaxedJsonEscaping,
|
||||
};
|
||||
|
||||
file.Write(JsonSerializer.Serialize(output, serializeOptions));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue