From 78d88f7f90e2737f722052a910233b16e4deafd1 Mon Sep 17 00:00:00 2001 From: Lucas Nussbaum Date: Wed, 6 May 2009 19:20:38 +0200 Subject: do not put header at top of text entries. --- lib/feed2imap/itemtomail.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/feed2imap/itemtomail.rb b/lib/feed2imap/itemtomail.rb index 0f97ac0..d12d3c5 100644 --- a/lib/feed2imap/itemtomail.rb +++ b/lib/feed2imap/itemtomail.rb @@ -80,7 +80,7 @@ def item_to_mail(item, id, updated, from = 'Feed2Imap', inline_images = false, w textpart = RMail::Message::new textpart.header['Content-Type'] = 'text/plain; charset=utf-8; format=flowed' textpart.header['Content-Transfer-Encoding'] = '8bit' - textpart.body = item.to_text(true, wrapto) + textpart.body = item.to_text(true, wrapto, false) htmlpart = RMail::Message::new htmlpart.header['Content-Type'] = 'text/html; charset=utf-8' htmlpart.header['Content-Transfer-Encoding'] = '8bit' -- cgit v1.2.3