diff --git a/core/spreadsheetbulkexport.class.inc.php b/core/spreadsheetbulkexport.class.inc.php index f84695f834..cf96ac161d 100644 --- a/core/spreadsheetbulkexport.class.inc.php +++ b/core/spreadsheetbulkexport.class.inc.php @@ -234,7 +234,6 @@ EOF } } $sData = ''; - $sData .= ''; // Trick for Excel: keep line breaks inside the same cell ! $sData .= "\n"; $sData .= "\n"; foreach($aData as $sLabel) diff --git a/webservices/export-v2.php b/webservices/export-v2.php index ef7a70fa65..ae5857aff6 100644 --- a/webservices/export-v2.php +++ b/webservices/export-v2.php @@ -740,6 +740,7 @@ try else { $oP = new WebPage('iTop export'); + $oP->add_style("table br { mso-data-placement:same-cell; }"); // Trick for Excel: keep line breaks inside the same cell ! } $oP->add_style("body { overflow: auto; }"); }