html conversion ignore emphasis

This commit is contained in:
mousebot 2020-04-24 21:10:06 -03:00
parent f55630f491
commit 7a19d6402c
3 changed files with 3 additions and 1 deletions

View File

@ -86,6 +86,7 @@ def convert_html(html):
h2t = html2text.HTML2Text()
h2t.ignore_links = True
h2t.ignore_images = True
h2t.ignore_emphasis = True
print(': URL converted to text')
return h2t.handle(html)

View File

@ -72,6 +72,7 @@ def convert_html(html):
h2t = html2text.HTML2Text()
h2t.ignore_links = True
h2t.ignore_images = True
h2t.ignore_emphasis = True
print(': URL converted to text')
return h2t.handle(html)

View File

@ -7,7 +7,7 @@ with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(name='mkv-this',
version='0.1.34',
version='0.1.35',
description='cli wrapper for markovify: take a text file or URL, markovify, save the results.',
long_description=long_description,
long_description_content_type='text/markdown',