lib/mail/fields/common/parameter_hash.rb in mail-2.2.1 vs lib/mail/fields/common/parameter_hash.rb in mail-2.2.2
- old
+ new
@@ -34,10 +34,10 @@
unless value.ascii_only?
value = Mail::Encodings.param_encode(value)
key_name = "#{key_name}*"
end
%Q{#{key_name}=#{quote_token(value)}}
- end.join(";\r\n\t")
+ end.join(";\r\n\s")
end
def decoded
map.sort { |a,b| a.first <=> b.first }.map do |key_name, value|
%Q{#{key_name}=#{quote_token(value)}}