Merge branch 'testing'
This commit is contained in:
commit
e41d41a2cf
|
@ -86,6 +86,7 @@ def convert_html(html):
|
||||||
h2t = html2text.HTML2Text()
|
h2t = html2text.HTML2Text()
|
||||||
h2t.ignore_links = True
|
h2t.ignore_links = True
|
||||||
h2t.ignore_images = True
|
h2t.ignore_images = True
|
||||||
|
h2t.ignore_emphasis = True
|
||||||
print(': URL converted to text')
|
print(': URL converted to text')
|
||||||
return h2t.handle(html)
|
return h2t.handle(html)
|
||||||
|
|
||||||
|
|
|
@ -72,6 +72,7 @@ def convert_html(html):
|
||||||
h2t = html2text.HTML2Text()
|
h2t = html2text.HTML2Text()
|
||||||
h2t.ignore_links = True
|
h2t.ignore_links = True
|
||||||
h2t.ignore_images = True
|
h2t.ignore_images = True
|
||||||
|
h2t.ignore_emphasis = True
|
||||||
print(': URL converted to text')
|
print(': URL converted to text')
|
||||||
return h2t.handle(html)
|
return h2t.handle(html)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue