Fix bug in epub navigation.

This commit is contained in:
sb domo 2014-03-20 08:11:29 +01:00
parent bc47068da6
commit 604f72d860

View file

@ -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);
}