mirror of
https://github.com/jekyll/jekyll.git
synced 2026-01-28 16:28:05 -05: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