diff --git a/Desktop/data/importers/csv/csv.cpp b/Desktop/data/importers/csv/csv.cpp index 50009e39f2..360e6b744a 100644 --- a/Desktop/data/importers/csv/csv.cpp +++ b/Desktop/data/importers/csv/csv.cpp @@ -536,6 +536,7 @@ bool CSV::readLine(vector &items) for (size_t index = 0; index < items.size(); index++) { string item = items.at(index); + boost::algorithm::replace_all(item, "\n", " "); // so we should not allow newlines in values right? if (item.size() >= 2 && item[0] == '"' && item[item.size()-1] == '"') item = item.substr(1, item.size()-2); items[index] = item;