Alir3z4/html2text — pull request #25 by emfree (2014-08-09 00:32:42+00:00)
Title: Fix TypeError when parsing tags like <img src='foo' alt>

In this case, doing attrs.get('alt', '') would return None, because attrs
actually looks like {'src': 'foo', 'alt': None}. This caused an unhandled
TypeError in escape_md when trying to do regular-expression matching on the
None value.