diff --git a/epub.php b/epub.php index 94abf9c..e4bd258 100644 --- a/epub.php +++ b/epub.php @@ -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); }