lib/http/accept/quoted_string.rb in http-accept-1.0.0 vs lib/http/accept/quoted_string.rb in http-accept-1.0.1
- old
+ new
@@ -33,10 +33,10 @@
value = @value[1...-1]
value.gsub!(/\\(.)/, '\1')
if normalize_whitespace
- value = value.gsub!(/[\r\n](\s+)+/, ' ')
+ value.gsub!(/[\r\n]\s+/, ' ')
end
return value
end