Skip to content

Commit

Permalink
Fix bug in epub navigation.
Browse files Browse the repository at this point in the history
  • Loading branch information
sbdomo committed Mar 20, 2014
1 parent fd627ec commit c23c2b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion epub.php
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ public function componentContentType($comp) {
private function getNavPointDetail ($node) {
$title = $this->toc_xpath->query('x:navLabel/x:text', $node)->item(0)->nodeValue;
$src = $this->toc_xpath->query('x:content', $node)->item(0)->attr('src');
$src = $this->decodeComponentName ($src);
$src = $this->encodeComponentName ($src);
return array("title" => $title, "src" => $src);
}

Expand Down

0 comments on commit c23c2b5

Please sign in to comment.