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

Added code to parse podcast episode descriptions from HTML to plain t… #351

Merged
merged 1 commit into from
Aug 14, 2023

Conversation

brian-doherty
Copy link
Contributor

…ext.

@brian-doherty
Copy link
Contributor Author

Fxies issue #349

@sentriz
Copy link
Owner

sentriz commented Aug 14, 2023

thanks! did you have a look at bluemonday though? this html2text seems to implement its own html parser which maybe isn't the best idea? or maybe we don't really care in this case

also it outputs markdown. do we want that?

@brian-doherty
Copy link
Contributor Author

I tried bluemonday but it doesn't even leave a space between paragraph breaks, let alone a carriage return or two. This looks much better. FYI I chose the options to output text only rather than markdown.

@brian-doherty
Copy link
Contributor Author

See the photos I pasted in the issue for comparison with bluemonday.

@sentriz
Copy link
Owner

sentriz commented Aug 14, 2023

ah I see , yes it does look better 👌

@sentriz sentriz merged commit 7d2c4fb into sentriz:master Aug 14, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants