Alir3z4 / html2text

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

Nested strong tags result in incorrect markup #271

Open JacksonToomey opened 5 years ago

JacksonToomey commented 5 years ago

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.**.

jdufresne commented 4 years ago

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.