mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-22 10:08:45 +02:00
Fix regression introduced in commit 10b7fa6 (Web queries have issue with line breaks in cell value)
This commit is contained in:
@@ -234,7 +234,6 @@ EOF
|
||||
}
|
||||
}
|
||||
$sData = '';
|
||||
$sData .= '<style>table br {mso-data-placement:same-cell;}</style>'; // Trick for Excel: keep line breaks inside the same cell !
|
||||
$sData .= "<table border=\"1\">\n";
|
||||
$sData .= "<tr>\n";
|
||||
foreach($aData as $sLabel)
|
||||
|
||||
@@ -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; }");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user