Commit 80a36869 authored by M Parker's avatar M Parker
Browse files

Remove whitespace while parsing csv/nsv lists.

This fixes issues with both Windows-style newlines and when the user
adds spaces before or after commas.
parent 94b7159f
......@@ -343,7 +343,7 @@ function _d3_sankey_explode_csv_nsv_list($input_string) {
foreach ($sub_array as $item) {
$answer[] = (string) $item;
$answer[] = trim((string) $item);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment