lib/epub/publication/package/manifest.rb in epub-parser-0.3.3 vs lib/epub/publication/package/manifest.rb in epub-parser-0.3.4
- old
+ new
@@ -119,11 +119,10 @@
# full path in archive
# @return [Addressable::URI]
def full_path
return @full_path if @full_path
- rootfile = manifest.package.book.ocf.container.rootfile.full_path
- path = DUMMY_ROOT_IRI + rootfile + href
+ path = DUMMY_ROOT_IRI + manifest.package.full_path + href
path.scheme = nil
path.host = nil
path.path = path.path[1..-1]
@full_path = path
end