bug dans l'échappement des valeurs
This commit is contained in:
parent
0b2c1b4900
commit
39679c1323
|
@ -2294,7 +2294,7 @@ function array_formatcsv2(fields, colsep, mvsep, qchar, echar, count, indic
|
|||
if (echar != "") gsub(qchar, quote_subrepl(echar) "&", value);
|
||||
else gsub(qchar, "&&", value);
|
||||
}
|
||||
if (qchar != "" && (index(value, mvsep) != 0 || index(value, colsep) != 0 || __csv_should_quote(value))) {
|
||||
if (qchar != "" && (index(value, mvsep) != 0 || index(value, colsep) != 0 || index(value, qchar) != 0 || __csv_should_quote(value))) {
|
||||
line = line qchar value qchar
|
||||
} else {
|
||||
line = line value
|
||||
|
|
Loading…
Reference in New Issue