-
Notifications
You must be signed in to change notification settings - Fork 283
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
html2text >=2024.2.25 regression breaks rss2email 3.14 tests? #412
Comments
|
@auouymous thanks for the minimal reproducer 👍 |
@auouymous I'm having trouble reproducing it like that in isolation. Any idea what I'm doing wrong below?: # cd "$(mktemp -d)"
# git clone https://github.com/Alir3z4/html2text/
# cd html2text/
# git checkout 2024.2.25
# python3.10 -m venv venv
# source venv/bin/activate
# pip install -e .
# venv/bin/html2text <<<'a <em>b</em>'
a _b_
# ^^ without double spaces |
@hartwork I just emerged 2024.2.25 and 2024.2.26 on gentoo. |
@auouymous that expains the # pyhtml2text --version
2024.2.26
# echo 'a <em>b</em>' |pyhtml2text
a _b_
# ^^ without double spaces Any ideas? |
I was able to copy a hidden "c2 a0" sequence from test feed to shell, but it didn't copy from shell to browser when posting here. It was a problem in rss2email and this issue can be closed. |
@auouymous thanks for the fix and the update! Closing… |
html2text --version
2024.2.25 or 2024.2.26
See details below
python --version
3.10 (but doesn't seem to matter)
Hi!
It has come to my attention that the tests of rss2email 3.14 started failing with html2text >=2024.2.25, and from quick look the breakage seems like a regression in html2text where a single space is now produced as a mistaken(?) double space. Here's the full reproducer:
Related:
Best, Sebastian
The text was updated successfully, but these errors were encountered: