diff --git a/WDBXEditor/Common/Extensions.cs b/WDBXEditor/Common/Extensions.cs index 3c63f55..29ddfa8 100644 --- a/WDBXEditor/Common/Extensions.cs +++ b/WDBXEditor/Common/Extensions.cs @@ -134,7 +134,7 @@ public static string ToSql(this DataRow row) { if (cols[i].DataType == typeof(string)) //Escape formatting { - string val = row[i].ToString().Replace(@"'", @"\'").Replace(@"""", @"\""").Replace(@"\", @"\\"); + string val = row[i].ToString().Replace(@"\", @"\\").Replace(@"'", @"\'").Replace(@"""", @"\"""); sb.Append("\"" + val + "\","); } else if (cols[i].DataType == typeof(float)) diff --git a/WDBXEditor/Definitions/Cata 4.3.4 (15595).xml b/WDBXEditor/Definitions/Cata 4.3.4 (15595).xml index 23bd198..cca32c3 100644 --- a/WDBXEditor/Definitions/Cata 4.3.4 (15595).xml +++ b/WDBXEditor/Definitions/Cata 4.3.4 (15595).xml @@ -1357,8 +1357,10 @@