mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-02-14 07:43:31 -07:00
Specify comparison type in Replace(...)
This commit is contained in:
parent
0745d49f44
commit
73080ecfa6
|
|
@ -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}\"";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue