Fix bug in epub navigation.
This commit is contained in:
		
							parent
							
								
									bc47068da6
								
							
						
					
					
						commit
						604f72d860
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -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…
	
	Add table
		Add a link
		
	
		Reference in a new issue