Merge branch 'testing'

This commit is contained in:
mousebot 2020-04-24 21:10:17 -03:00
commit e41d41a2cf
2 changed files with 2 additions and 0 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)