[CSV] Quote columns headers to fix #571.

This commit is contained in:
herve0742 2022-04-11 19:12:33 +02:00
parent 881b29260a
commit 327c0fbdd3

View file

@ -87,7 +87,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";
}