Fix post.rb permalink stuff in light of merge of #2925.

This commit is contained in:
Parker Moore 2014-10-20 22:24:11 -07:00
parent 2690c045ec
commit f7b1782294
1 changed files with 1 additions and 1 deletions

View File

@ -270,7 +270,7 @@ module Jekyll
# The url needs to be unescaped in order to preserve the correct filename # The url needs to be unescaped in order to preserve the correct filename
dest = site.in_dest_dir(dest) dest = site.in_dest_dir(dest)
path = Jekyll.sanitized_path(dest, URL.unescape_path(url)) path = Jekyll.sanitized_path(dest, URL.unescape_path(url))
path = File.join(path, "index.html") if path[/\.html$/].nil? path = File.join(path, "index.html") if path[/\.html?$/].nil?
path path
end end