diff --git a/mkv_this/mkv_this.py b/mkv_this/mkv_this.py index d15d3cd..723c6f5 100755 --- a/mkv_this/mkv_this.py +++ b/mkv_this/mkv_this.py @@ -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) diff --git a/mkv_this/mkv_this_dir.py b/mkv_this/mkv_this_dir.py index d7c6e09..943f8b0 100644 --- a/mkv_this/mkv_this_dir.py +++ b/mkv_this/mkv_this_dir.py @@ -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)