Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash in html2text when handling markdown sensitive characters #186

Open
base0x10 opened this issue Jul 8, 2019 · 0 comments
Open

Crash in html2text when handling markdown sensitive characters #186

base0x10 opened this issue Jul 8, 2019 · 0 comments

Comments

@base0x10
Copy link

base0x10 commented Jul 8, 2019

Description

A website currently number 3 on HN crashes the html2text parsing library. The following url crashes the library: https://itsfoss.com/mattermost-funding/

The exact issue is a type error on line 824, with a call to .sub where text is not a string or bytes-like object.
The full sterror stack-trace is here.
error.txt

This is a fresh install from pip3 of haxor-news on osx.

I have not gotten a chance to properly debug. I am willing to investigate and potentially PR any fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants