We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3f5efdf + 0fe3784 commit e613e52Copy full SHA for e613e52
src/WebApiContrib.Core.Formatter.Csv/CsvOutputFormatter.cs
@@ -127,10 +127,10 @@ public async override Task WriteResponseBodyAsync(OutputFormatterWriteContext co
127
128
var _val = val.Value.ToString();
129
130
- //Escape quotas
+ //Escape quotes
131
_val = _val.Replace("\"", "\"\"");
132
133
- //Check if the value contans a delimiter and place it in quotes if so
+ //Check if the value contains a delimiter and place it in quotes if so
134
if (_val.Contains(_options.CsvDelimiter))
135
_val = string.Concat("\"", _val, "\"");
136
0 commit comments