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

Use library to derive plain text from HTML instead of using plain text content #3854

Open
JayDaley opened this issue Nov 3, 2024 · 0 comments
Labels
enhancement New feature or request under_review

Comments

@JayDaley
Copy link

JayDaley commented Nov 3, 2024

There is at least one commonly used mail client that sends HTML mail using indentation for quoting, but then does not include that indentation as whitespace in the plain text content. See this message for an example.

To get around this, we could use a library that converts the HTML to plain text, for example the get_text() function in BeautifulSoup

@JayDaley JayDaley added the enhancement New feature or request label Nov 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request under_review
Projects
None yet
Development

No branches or pull requests

2 participants