Skip to content
This repository was archived by the owner on May 26, 2022. It is now read-only.

Commit 7427806

Browse files
authored
Do not add space between text nodes (#401)
1 parent 3128f86 commit 7427806

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

src/Spout/Reader/XLSX/Helper/SharedStringsHelper.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -234,11 +234,6 @@ protected function extractTextValueForNodes($textNodes)
234234
$textValue = '';
235235

236236
foreach ($textNodes as $nodeIndex => $textNode) {
237-
if ($nodeIndex !== 0) {
238-
// add a space between each "t" node
239-
$textValue .= ' ';
240-
}
241-
242237
$textNodeAsString = $textNode->__toString();
243238
$shouldPreserveWhitespace = $this->shouldPreserveWhitespace($textNode);
244239

Binary file not shown.

0 commit comments

Comments
 (0)