Fix bug in epub navigation.
This commit is contained in:
parent
bc47068da6
commit
604f72d860
|
@ -218,7 +218,7 @@ class EPub {
|
||||||
private function getNavPointDetail ($node) {
|
private function getNavPointDetail ($node) {
|
||||||
$title = $this->toc_xpath->query('x:navLabel/x:text', $node)->item(0)->nodeValue;
|
$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->toc_xpath->query('x:content', $node)->item(0)->attr('src');
|
||||||
$src = $this->decodeComponentName ($src);
|
$src = $this->encodeComponentName ($src);
|
||||||
return array("title" => $title, "src" => $src);
|
return array("title" => $title, "src" => $src);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue