Merge pull request #44294 from GoDino/issue_44269

wrong double quote output with .csv fixed
This commit is contained in:
Rémi Verschelde 2020-12-11 15:04:54 +01:00 committed by GitHub
commit 146316c441
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -349,7 +349,7 @@ Vector<String> FileAccess::get_csv_line(const String &p_delim) const {
strings.push_back(current);
current = String();
} else if (c == '"') {
if (l[i + 1] == '"') {
if (l[i + 1] == '"' && in_quote) {
s[0] = '"';
current += s;
i++;