aaronsw / html2text

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

Avoid IndexError when handling a paragraph that is just "--" #51

Closed brondsem closed 11 years ago

brondsem commented 11 years ago

I am not 100% sure this should return False in this case, since I'm not very familiar with the skipwrap function, but this at least avoids the exception from being raised.