Alir3z4 / html2text

Convert HTML to Markdown-formatted text.
alir3z4.github.io/html2text/
GNU General Public License v3.0
1.8k stars 273 forks source link

<strong> adds unexpected space after tag #237

Closed jdufresne closed 5 years ago

jdufresne commented 5 years ago

Version by html2text --version

html2text 2018.1.9

Test script

html2text.html2text('<p><strong>hello</strong>world</p>')

Expected: '**hello**world\n\n' Actual: '**hello** world\n\n'

Python version python --version

Python 3.7.2