summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2013-10-09 09:42:16 -0400
committerJesse Luehrs <doy@tozt.net>2013-10-09 09:42:16 -0400
commit852d8eaa132ed1cb10a55ff3bbf9ca82e52f8867 (patch)
treeabfde48a4e3c173877a1867dbb7f03796575fd8f /lib
parent90ca90b8e8f2dafc2befb8c5ddba1eea8e4eebf3 (diff)
downloadspreadsheet-parsexlsx-852d8eaa132ed1cb10a55ff3bbf9ca82e52f8867.tar.gz
spreadsheet-parsexlsx-852d8eaa132ed1cb10a55ff3bbf9ca82e52f8867.zip
fix rich text cell contents (merrilymeredith, #11)
Diffstat (limited to 'lib')
-rw-r--r--lib/Spreadsheet/ParseXLSX.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Spreadsheet/ParseXLSX.pm b/lib/Spreadsheet/ParseXLSX.pm
index 0dca08a..e202ccb 100644
--- a/lib/Spreadsheet/ParseXLSX.pm
+++ b/lib/Spreadsheet/ParseXLSX.pm
@@ -254,7 +254,7 @@ sub _parse_shared_strings {
my $node = $_;
# XXX this discards information about formatting within cells
# not sure how to represent that
- { Text => join('', map { $_->text } $node->find_nodes('t')) }
+ { Text => join('', map { $_->text } $node->find_nodes('.//t')) }
} $strings->find_nodes('//si')
];
}