Fix regression introduced in commit 10b7fa6 (Web queries have issue with line breaks in cell value)

This commit is contained in:
Molkobain
2018-10-17 13:04:57 +02:00
parent 11ba459d1b
commit a37698a9de
2 changed files with 1 additions and 1 deletions

View File

@@ -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)

View File

@@ -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; }");
}