mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-09-13 03:26:26 +00:00
Fix for multiple worksheets, all with merge cells, in HTML Writer
This commit is contained in:
@@ -405,7 +405,7 @@ class HTML extends BaseWriter implements IWriter
|
||||
}
|
||||
|
||||
// Ensure that Spans have been calculated?
|
||||
if (!$this->spansAreCalculated) {
|
||||
if ($this->sheetIndex !== null || !$this->spansAreCalculated) {
|
||||
$this->calculateSpans();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user