how prevent delete multiple whitespace on DOMText when exporting excel #2168
-
What is the expected behavior?keep multiple whitespace when exporting. What is the current behavior?multiple whitespace are not kept What are the steps to reproduce?export from html I was reviewing the documentation and I can't find any configuration to prevent this behavior, is there any configuration to achieve this? I have also checked the source code of the library a bit and found that the origin of this behavior is: File: src/PhpSpreadsheet/Reader/Html.php
this line removes multiple whitespace Which versions of PhpSpreadsheet and PHP are affected?Version PHPOffice/PhpSpreadsheet: "1.4.0" |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
No! There is no configuration to prevent this. This is behaviour that MS Excel itself applies when importing an HTML file |
Beta Was this translation helpful? Give feedback.
No! There is no configuration to prevent this. This is behaviour that MS Excel itself applies when importing an HTML file