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

Commit

Permalink
Do not add space between text nodes (#401)
Browse files Browse the repository at this point in the history
  • Loading branch information
adrilo committed Mar 28, 2017
1 parent 3128f86 commit 7427806
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/Spout/Reader/XLSX/Helper/SharedStringsHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -234,11 +234,6 @@ protected function extractTextValueForNodes($textNodes)
$textValue = '';

foreach ($textNodes as $nodeIndex => $textNode) {
if ($nodeIndex !== 0) {
// add a space between each "t" node
$textValue .= ' ';
}

$textNodeAsString = $textNode->__toString();
$shouldPreserveWhitespace = $this->shouldPreserveWhitespace($textNode);

Expand Down
Binary file not shown.

0 comments on commit 7427806

Please sign in to comment.