Browse files

Fix toc url now passed as string rather than URI instance.

  • Loading branch information...
1 parent 88c20b5 commit 7d58ab4c6cac0285af785c5d4e36775e3cfa843e @orangemug orangemug committed Jan 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/epub/item/toc.rb
View
2 lib/epub/item/toc.rb
@@ -106,7 +106,7 @@ def items(master, opts={}, level=0)
if file && label
items << {
:label => label.strip,
- :url => filepath,
+ :url => filepath.to_s,
:children => child_nodes,
:position => position
}

0 comments on commit 7d58ab4

Please sign in to comment.