improve format of html2text-output

This commit is contained in:
Ronald Schaten 2013-04-03 22:29:40 +02:00
parent 546ca45337
commit 6c358c5c1d

View File

@ -160,6 +160,7 @@ def process_feed_entry(session, feed, entry):
print ' converting summary' print ' converting summary'
h2t = html2text.HTML2Text() h2t = html2text.HTML2Text()
h2t.body_width = 0 h2t.body_width = 0
h2t.inline_links = False
if feed.html2textignoreimages: if feed.html2textignoreimages:
h2t.ignore_images = True h2t.ignore_images = True
if feed.contentcolumn == 'summary': if feed.contentcolumn == 'summary':