Add content_type.  Does not quite work in that the output is not properly formatted
1 files changed, 4 insertions(+), 1 deletions(-)

M feed2maildir/converter.py
M feed2maildir/converter.py +4 -1
@@ 62,7 62,7 @@ class Converter:
 Date: {}
 Subject: {}
 List-ID: {}
-Content-Type: text/plain
+Content-Type: {}
 
 {}
 

          
@@ 193,6 193,7 @@ Content-Type: text/plain
 
         updated = updated.strftime('%a, %d %b %Y %H:%M:%S %Z')
         desc = ''
+        content_type = 'text/plain'
         if not self.links:
             if self.strip:
                 stripper = HTMLStripper()

          
@@ 200,9 201,11 @@ Content-Type: text/plain
                 desc = stripper.get_data()
             else:
                 desc = post.description
+                content_type = 'text/html'
         return self.TEMPLATE.format(updated,
                                     post.title,
                                     title.lower().replace(' ', '-'),
+                                    content_type,
                                     post.link,
                                     desc)