lib/vmail/address_quoter.rb in vmail-2.8.7 vs lib/vmail/address_quoter.rb in vmail-2.8.9
- old
+ new
@@ -14,19 +14,19 @@
savebin = ""
else
savebin = part + ", "
end
end
-
+
#Quote the names
- addrs.map { |addr|
+ addrs.map { |addr|
# a little hackish
if addr =~ /"/
addr
else
- addr.gsub(/^(.*) (<.*)/, '"\1" \2')
+ addr.gsub(/^(.*) (<.*)/, '"\1" \2')
end
}.join(', ')
end
-
+
end
end