mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-03-17 20:32:34 +00:00
Specify comparison type in Replace(...)
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
using System.Collections.Generic;
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
@@ -122,7 +123,7 @@ internal partial class CsvMessageWriter
|
|||||||
{
|
{
|
||||||
private static string CsvEncode(string value)
|
private static string CsvEncode(string value)
|
||||||
{
|
{
|
||||||
value = value.Replace("\"", "\"\"");
|
value = value.Replace("\"", "\"\"", StringComparison.Ordinal);
|
||||||
return $"\"{value}\"";
|
return $"\"{value}\"";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user