diff --git a/CHANGELOG.md b/CHANGELOG.md index f936a6b..c42ebac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 1.0.17 (2021-07-28) + +* Fixed " and & in sheets names + ## 1.0.16 (2021-07-01) * Fixed "&" in hyperlinks diff --git a/src/SimpleXLSXGen.php b/src/SimpleXLSXGen.php index 00f6e7d..ac3ea2b 100644 --- a/src/SimpleXLSXGen.php +++ b/src/SimpleXLSXGen.php @@ -217,7 +217,7 @@ class SimpleXLSXGen { } elseif ( $cfilename === 'xl/workbook.xml' ) { $s = ''; foreach ( $this->sheets as $k => $v ) { - $s .= ''; + $s .= ''; } $template = str_replace('{SHEETS}', $s, $template); $this->_writeEntry($fh, $cdrec, $cfilename, $template);