Skip to content

Commit

Permalink
1.4.13
Browse files Browse the repository at this point in the history
  • Loading branch information
shuchkin committed Oct 13, 2024
1 parent 672f7c2 commit a44de02
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

# 1.4.13 (2024-10-13)
* fixed [formula and style](https://github.com/shuchkin/simplexlsxgen/issues/156) issue, when skpped `v="value"` in formula tag

## 1.4.12 (2024-07-28)
* tag ```<raw>``` for styled raw values

Expand All @@ -9,7 +12,7 @@

## 1.4.10 (2023-12-31)
* added SimpleXLSXGen::create($title = null) to create empty book with title
* added SimpleXLSXGen::save to save xlsx in current folder as {$title}.xslx or {$curdate}.xlsx
* added SimpleXLSXGen::save to save xlsx in current folder as `title`.xslx or `curdate`.xlsx
* SimpleXLSXGen::esc and SimpleXLSXGen::date2excel static now
* added examples SimpleXLSXGen::create, SimpleXSLXGen::raw, SimpleXLSXGen:save in README.md
* fixed [fpassthru disabled issue](https://github.com/shuchkin/simplexlsxgen/issues/116)
Expand Down
2 changes: 1 addition & 1 deletion src/SimpleXLSXGen.php
Original file line number Diff line number Diff line change
Expand Up @@ -820,7 +820,7 @@ protected function _sheetToXML($idx, $template)
$v = $m[1];
} elseif (preg_match('/<f([^>]*)>/', $v, $m)) {
$cf = strip_tags($v);
$v = 'formula';
$v = 0;
if (preg_match('/ v="([^"]+)"/', $m[1], $m2)) {
$v = $m2[1];
}
Expand Down

0 comments on commit a44de02

Please sign in to comment.