Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/jekyll/tagging.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ module Helpers
# Substitutes any diacritics in _str_ with their ASCII equivalents,
# whitespaces with dashes and converts _str_ to downcase.
def jekyll_tagging_slug(str)
str.to_s.replace_diacritics.downcase.gsub(/\s/, '-')
Jekyll::Utils::slugify(str.to_s, mode: 'latin', cased: true)
end

end
Expand Down