aaronsw / html2text

Convert HTML to Markdown-formatted text.
http://www.aaronsw.com/2002/html2text/
GNU General Public License v3.0
2.57k stars 410 forks source link

a parse error when strong tag in a tag #100

Open dongua opened 8 years ago

dongua commented 8 years ago

The demo is

source:
<a href="1"><strong>Meteor</strong></a>
<strong><a href="1">TypeScript</a></strong> 

result:
**[Meteor**](1)
**[TypeScript](1)**

First result of the link is wrong.