Merge f7ad198d7ec6def1a3c6355c1c8292e2b5a353ff into 799ad93d236d90f70d67b85b503a9f488eee15d8

This commit is contained in:
Aleksandra 2018-09-03 07:45:20 +00:00 committed by GitHub
commit 39be12766f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -125,6 +125,11 @@ class CellValueFormatter
// inline strings are formatted this way: // inline strings are formatted this way:
// <c r="A1" t="inlineStr"><is><t>[INLINE_STRING]</t></is></c> // <c r="A1" t="inlineStr"><is><t>[INLINE_STRING]</t></is></c>
$tNode = $node->getElementsByTagName(self::XML_NODE_INLINE_STRING_VALUE)->item(0); $tNode = $node->getElementsByTagName(self::XML_NODE_INLINE_STRING_VALUE)->item(0);
if ($tNode === null) {
return null;
}
$cellValue = $this->escaper->unescape($tNode->nodeValue); $cellValue = $this->escaper->unescape($tNode->nodeValue);
return $cellValue; return $cellValue;
} }