From 764a2c1b39b9b63bc72d9954e8a0b6e462ffd05e Mon Sep 17 00:00:00 2001 From: Jussi Kinnula Date: Tue, 29 Mar 2016 09:46:42 +0300 Subject: [PATCH] Change urlsafe to ascii also when actually slugifying --- lib/jekyll/utils.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/jekyll/utils.rb b/lib/jekyll/utils.rb index c3efa7bb..d4ece1a3 100644 --- a/lib/jekyll/utils.rb +++ b/lib/jekyll/utils.rb @@ -197,11 +197,11 @@ module Jekyll # "._~!$&'()+,;=@" is human readable (not URI-escaped) in URL # and is allowed in both extN and NTFS. SLUGIFY_PRETTY_REGEXP - when 'urlsafe' + when 'ascii' # For web servers not being able to handle Unicode, the safe # method is to ditch anything else but latin letters and numeric # digits. - SLUGIFY_URLSAFE_REGEXP + SLUGIFY_ASCII_REGEXP end # Strip according to the mode