lib/jekyll/utils.rb in jekyll-3.1.1 vs lib/jekyll/utils.rb in jekyll-3.1.2
- old
+ new
@@ -18,10 +18,10 @@
# Takes a slug and turns it into a simple title.
def titleize_slug(slug)
slug.split("-").map! do |val|
- val.capitalize!
+ val.capitalize
end.join(" ")
end
# Non-destructive version of deep_merge_hashes! See that method.
#