mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2024-09-19 04:08:45 -04:00
Specify comparison type in Replace(...)
This commit is contained in:
parent
0745d49f44
commit
73080ecfa6
1 changed files with 3 additions and 2 deletions
|
@ -1,4 +1,5 @@
|
|||
using System.Collections.Generic;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Text;
|
||||
using System.Threading;
|
||||
|
@ -122,7 +123,7 @@ internal partial class CsvMessageWriter
|
|||
{
|
||||
private static string CsvEncode(string value)
|
||||
{
|
||||
value = value.Replace("\"", "\"\"");
|
||||
value = value.Replace("\"", "\"\"", StringComparison.Ordinal);
|
||||
return $"\"{value}\"";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue