improve format of html2text-output
This commit is contained in:
parent
546ca45337
commit
6c358c5c1d
@ -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':
|
||||||
|
Loading…
Reference in New Issue
Block a user