lib/gepub/resource_builder.rb in gepub-0.6.5.1 vs lib/gepub/resource_builder.rb in gepub-0.6.5.2

- old
+ new

@@ -152,10 +152,10 @@ end if Array === val name = val[0] io = val[1] end - name = "#{@dir_prefix}/#{name}" if !@dir_prefix.nil? && @dir_prefix.size > 0 + name = "#{@dir_prefix}/#{name}" if !@dir_prefix.nil? && @dir_prefix.size > 0 && !name.start_with?('http') @book.add_item(name, io) end end end