You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- [ *] a bug report
- [ ] a feature request
- [ ] **not** a usage question (ask them on https://stackoverflow.com/questions/tagged/phpspreadsheet or https://gitter.im/PHPOffice/PhpSpreadsheet)
What is the expected behavior?
generateHTMLAll() should keep the CSS formatting when setUseInlineCss(true)
What is the current behavior?
generateHTMLAll() generates the HTML table but without all CSS styling
What are the steps to reproduce?
I was trying to generate the HTML version of a report with
FixPHPOffice#3678. Problem introduced by PR PHPOffice#3016. Combining `td` and `th` styles into a single declaration greatly reduces file size when `useInlineCss` is false, which is the default. However, generating code with the non-default option was not changed to use the combined declaration, so styling was lost. This PR rectifies that error.
* Html Writer Styles when Using Inline Css
Fix#3678. Problem introduced by PR #3016. Combining `td` and `th` styles into a single declaration greatly reduces file size when `useInlineCss` is false, which is the default. However, generating code with the non-default option was not changed to use the combined declaration, so styling was lost. This PR rectifies that error.
* Apostrophe Rather Than Quote
This is:
What is the expected behavior?
generateHTMLAll() should keep the CSS formatting when setUseInlineCss(true)
What is the current behavior?
generateHTMLAll() generates the HTML table but without all CSS styling
What are the steps to reproduce?
I was trying to generate the HTML version of a report with
and for some reason all the cells that are supposed to have background-colors or additional styling do not.
I did some poking around the Html writer and it seems this part of buildCss is the cause:
another project is still in version 1.24 and the html generated is
but the one that got upgraded to version 1.29 generates this html instead
What features do you think are causing the issue
Does an issue affect all spreadsheet file formats? If not, which formats are affected?
Only HTML
Which versions of PhpSpreadsheet and PHP are affected?
1.29
The text was updated successfully, but these errors were encountered: