Fix offense.
This commit is contained in:
parent
4a2b96293b
commit
ddf833505c
|
@ -156,7 +156,7 @@ module Jekyll
|
||||||
#
|
#
|
||||||
# Returns the formatted String
|
# Returns the formatted String
|
||||||
def normalize_whitespace(input)
|
def normalize_whitespace(input)
|
||||||
input.to_s.gsub(/\s+/, " ").strip
|
input.to_s.gsub(%r!\s+!, " ").strip
|
||||||
end
|
end
|
||||||
|
|
||||||
# Count the number of words in the input string.
|
# Count the number of words in the input string.
|
||||||
|
|
Loading…
Reference in New Issue