Skip to content

Commit

Permalink
Merge pull request #13 from mdanko2000/patch-1
Browse files Browse the repository at this point in the history
Styles from the first sheet were lost
  • Loading branch information
infostreams authored Jun 17, 2021
2 parents 3af315d + 81f1517 commit f688a2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tasks/Styles.php
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ protected function rewriteCells($existing_xpath, $source_xpath, $mapping) {

// this is a new style!
$new_id = count($defined_styles);
$defined_styles[$id] = array(
$defined_styles[$new_id] = array(
"node" => $style,
"string" => $style->C14N(true, false),
"id" => $new_id
Expand Down

0 comments on commit f688a2d

Please sign in to comment.