html2text
html2text copied to clipboard
Nested strong tags result in incorrect markup
- Version by
html2text --version2018.1.9 - Python version
python --versionPython 3.6.6
With an input of This tag shows <strong>bold<strong> text.</strong></strong>, the resulting markup is This tag shows **bold **text.****. It should be This tag shows **bold text.**.
Thanks for the report. I agree that MD doesn't allow nested bold. Would you like to submit a PR?
I believe <em> has the same issue.