dohliam / jekyll-offline

Jekyll Offline - Turn any Jekyll site into an offline application with relative links
https://dohliam.github.io/jekyll-offline/
17 stars 4 forks source link

Replace URI.encode/decode with URI::Parser.escape/unescape #3

Open mkerley opened 1 year ago

mkerley commented 1 year ago

Fix for undefined method `encode' for URI:Module #2

This worked for my site, and the repo's demo site. It may not work for all URIs. Based on this thread: https://stackoverflow.com/questions/65423458/ruby-2-7-says-uri-escape-is-obsolete-what-replaces-it

Thanks @dohliam for making this tool!

beneon commented 1 year ago

This really works!!!!