Fix offense.
This commit is contained in:
parent
4a2b96293b
commit
ddf833505c
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue