From f684a708399d2e0489d61c7ef67350dcad92e62b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20K=C3=A4gi?= Date: Thu, 16 May 2024 15:44:08 +0200 Subject: [PATCH] Fix windows issue. --- source/GlassView.Export.Test/GlassViewTest.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/GlassView.Export.Test/GlassViewTest.cs b/source/GlassView.Export.Test/GlassViewTest.cs index ff00bd8..b546348 100644 --- a/source/GlassView.Export.Test/GlassViewTest.cs +++ b/source/GlassView.Export.Test/GlassViewTest.cs @@ -38,6 +38,6 @@ private static String DirectoryExportJson(String path) } """; - static String Sanitise(String value) => value.Replace("\"", "\\\""); + static String Sanitise(String value) => value.Replace("\\", "/"); // Windows path to Unix path, which are compatible with JSON. } }