mailcvt 0.2.28 → 0.2.29
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/encoded_word.rb +2 -2
- data/lib/mailcvt/version.rb +1 -1
- metadata +1 -1
data/lib/encoded_word.rb
CHANGED
@@ -96,7 +96,7 @@ class EncodedWord
|
|
96
96
|
return '' unless sub and sub.length > 0
|
97
97
|
sub = sub.encode('utf-8', @input_enc, :undef=>:replace, :invalid=>:replace)
|
98
98
|
one = sub.gsub("\a", '')
|
99
|
-
mime_decode(one)
|
99
|
+
plain = mime_decode(one).gsub("\n", '')
|
100
100
|
end
|
101
101
|
|
102
102
|
def trim_emails(emails)
|
@@ -136,7 +136,7 @@ class EncodedWord
|
|
136
136
|
attaches << decode_attach(parts[i])
|
137
137
|
end
|
138
138
|
return '' unless attaches.length > 0
|
139
|
-
attaches.join("\a")
|
139
|
+
attaches.join("\a").gsub("\n", '')
|
140
140
|
end
|
141
141
|
|
142
142
|
def decode_attach(attach)
|
data/lib/mailcvt/version.rb
CHANGED