This commit is contained in:
Pat Hawks 2017-01-05 18:34:44 -06:00
parent 5652c10305
commit 1e4b779ab3
No known key found for this signature in database
GPG Key ID: F1746FF5F18B3D1B
1 changed files with 1 additions and 1 deletions

View File

@ -146,7 +146,7 @@ module Jekyll
# sub-delims = "!" / "$" / "&" / "'" / "(" / ")" # sub-delims = "!" / "$" / "&" / "'" / "(" / ")"
# / "*" / "+" / "," / ";" / "=" # / "*" / "+" / "," / ";" / "="
path = Addressable::URI.encode(path) path = Addressable::URI.encode(path)
path.encode("utf-8") path.encode("utf-8").sub("#", "%23")
end end
# Unescapes a URL path segment # Unescapes a URL path segment