CSV: Enclose everything in "".

This commit is contained in:
tastytea 2019-05-16 00:52:05 +02:00
parent d95a9a1255
commit dfc382b92c
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07

View File

@ -68,10 +68,10 @@ int main(const int argc, const char *argv[])
strtags += ",";
}
}
cout << entry.uri << ';' << entry.archive_uri << ';'
<< timepoint_to_string(entry.datetime) << ';'
<< strtags << ';' << entry.title << ';'
<< entry.description << endl;
cout << '"' << entry.uri << "\";\"" << entry.archive_uri << "\";\""
<< timepoint_to_string(entry.datetime) << "\";\""
<< strtags << "\";\"" << entry.title << "\";\""
<< entry.description << '"'<< endl;
}
break;
}