[CSV] Quote columns headers to fix #571.

This commit is contained in:
herve0742 2022-04-11 19:12:33 +02:00 committed by Thomas Citharel
parent 854e91ea56
commit ec3ae81e4d
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

View file

@ -92,7 +92,7 @@ if ($poll->format === 'D') {
} else {
echo ',';
foreach ($slots as $slot) {
echo Utils::markdown($slot->title, true) . ',';
echo Utils::csvEscape(Utils::markdown($slot->title, true)) . ',';
}
echo "\r\n";
}