lib/jekyll/page.rb in jekyll-2.0.0.alpha.2 vs lib/jekyll/page.rb in jekyll-2.0.0.alpha.3
- old
+ new
@@ -133,10 +133,10 @@
#
# dest - The String path to the destination dir.
#
# Returns the destination file path String.
def destination(dest)
- path = Jekyll.sanitized_path(dest, url)
+ path = Jekyll.sanitized_path(dest, URL.unescape_path(url))
path = File.join(path, "index.html") if url =~ /\/$/
path
end
# Returns the object as a debug String.