From 3c75bcba6292faf3e408f4378d65a7b074ba2230 Mon Sep 17 00:00:00 2001 From: Kevin Paxman <kpaxman@uwaterloo.ca> Date: Tue, 20 Sep 2022 09:27:18 -0400 Subject: [PATCH] ISTWCMS-5754: restore part of comment likely accidentally removed in rebase --- src/Controller/UwDownloadCsvController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Controller/UwDownloadCsvController.php b/src/Controller/UwDownloadCsvController.php index ea679a89..46cfdb40 100644 --- a/src/Controller/UwDownloadCsvController.php +++ b/src/Controller/UwDownloadCsvController.php @@ -131,7 +131,7 @@ class UwDownloadCsvController extends ControllerBase { // Step through each of the nodes and get the info. foreach ($nodes as $node) { - // Pull out the info about the node. + // Pull out the info about the node, making sure the title is CSV-safe. $data = [ 'nid' => $node->id(), 'title' => '"' . str_replace('"', '""', $node->getTitle()) . '"', -- GitLab