Giter Site home page Giter Site logo

Comments (7)

auouymous avatar auouymous commented on June 19, 2024 1

echo 'a <em>b</em>' |pyhtml2text produces a _b_ (double spaces) with html2text >=2024.2.25.

from html2text.

hartwork avatar hartwork commented on June 19, 2024

@auouymous thanks for the minimal reproducer 👍

from html2text.

hartwork avatar hartwork commented on June 19, 2024

@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

from html2text.

auouymous avatar auouymous commented on June 19, 2024

@hartwork I just emerged 2024.2.25 and 2024.2.26 on gentoo.

from html2text.

hartwork avatar hartwork commented on June 19, 2024

@hartwork I just emerged 2024.2.25 and 2024.2.26 on gentoo.

@auouymous that expains the py in pyhtml2text, I see. Unfortunately, I don't get it this way — host Gentoo with no virtualenvs active — either:

# pyhtml2text --version
2024.2.26

# echo 'a <em>b</em>' |pyhtml2text
a _b_
# ^^ without double spaces

Any ideas?

from html2text.

auouymous avatar auouymous commented on June 19, 2024

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.

from html2text.

hartwork avatar hartwork commented on June 19, 2024

@auouymous thanks for the fix and the update! Closing…

from html2text.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.