diff --git a/importexport/inc/class.importexport_export_csv.inc.php b/importexport/inc/class.importexport_export_csv.inc.php index 8b81560993..b4d78911ea 100644 --- a/importexport/inc/class.importexport_export_csv.inc.php +++ b/importexport/inc/class.importexport_export_csv.inc.php @@ -335,7 +335,7 @@ class importexport_export_csv implements importexport_iface_export_record $writeDelimiter = false; foreach($dataArray as $dataElement) { if($writeDelimiter) $string .= $delimiter; - $string .= $enclosure . $dataElement . $enclosure; + $string .= $enclosure . str_replace("\r\n", "\n", $dataElement) . $enclosure; $writeDelimiter = true; } $string .= "\n";