From 604f72d86044577af1e226752a467488cb450cee Mon Sep 17 00:00:00 2001 From: sb domo Date: Thu, 20 Mar 2014 08:11:29 +0100 Subject: [PATCH] Fix bug in epub navigation. --- resources/php-epub-meta/epub.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/php-epub-meta/epub.php b/resources/php-epub-meta/epub.php index 94abf9c..e4bd258 100644 --- a/resources/php-epub-meta/epub.php +++ b/resources/php-epub-meta/epub.php @@ -218,7 +218,7 @@ class EPub { 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); }