html conversion ignore emphasis
This commit is contained in:
parent
f55630f491
commit
7a19d6402c
|
@ -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)
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
2
setup.py
2
setup.py
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue