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

Do not add space between text nodes #401

Merged
merged 1 commit into from
Mar 28, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.