From 70fc0d45f7e23e467b67c5b1c13d0673262242d5 Mon Sep 17 00:00:00 2001 From: Alf Kraus Date: Fri, 11 Dec 2020 11:42:43 +0100 Subject: [PATCH] wrong double quote output with .csv fixed (cherry picked from commit 68fdd753a796bec711cd5caa0933ac2f0f125aca) --- core/os/file_access.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/os/file_access.cpp b/core/os/file_access.cpp index bacdfd3c8ad..bb55a347df6 100644 --- a/core/os/file_access.cpp +++ b/core/os/file_access.cpp @@ -379,7 +379,7 @@ Vector 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++;