mirror of
https://github.com/jekyll/jekyll.git
synced 2026-04-28 03:01:03 -04:00
Fix offense.
This commit is contained in:
@@ -156,7 +156,7 @@ module Jekyll
|
||||
#
|
||||
# Returns the formatted String
|
||||
def normalize_whitespace(input)
|
||||
input.to_s.gsub(/\s+/, " ").strip
|
||||
input.to_s.gsub(%r!\s+!, " ").strip
|
||||
end
|
||||
|
||||
# Count the number of words in the input string.
|
||||
|
||||
Reference in New Issue
Block a user