From 852d8eaa132ed1cb10a55ff3bbf9ca82e52f8867 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Wed, 9 Oct 2013 09:42:16 -0400 Subject: fix rich text cell contents (merrilymeredith, #11) --- lib/Spreadsheet/ParseXLSX.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Spreadsheet/ParseXLSX.pm') 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') ]; } -- cgit v1.2.3-54-g00ecf