html2text
html2text copied to clipboard
The picture url with "-" is converted to "-\n"
- Version by
2020.1.16
>>> print(html2text.html2text('<img src="http://n.sinaimg.cn/tech/transform/59/w309h550/20180404/k2nb-fysuuya3242244.png">'))
# 
expect: 
- Python version
3.7.1
I have the same issue with Python 3.9 any better solution?
I am currently doing
htmlText = htmlText.replace('-\n','-')