html2text
html2text copied to clipboard
Convert HTML to Markdown-formatted text.
Fixed ## [# 151](https://github.com/Alir3z4/html2text/issues/151) - Added a code that will move trailing line breaks outside of the asterisks and underscores. - Also changed a variable name list used inside a...
In the current PyPi html2text converting a single backslash in html produces a single backslash in plain text. That seems right. But converting two backslashes in html produces 3 backslashes...
Steps to reproduce: ```py >>> import html2text >>> html2text.html2text('This is a link right here') '**This is[a link](https://example.com/) right here**\n\n' ``` Notice the space between the word "is" and the link...
Good morning, I'm using `html2text` for my projects. There's one problem which is `html2text` doesn't 'case' formulas inside $$. I wonder if there is any way or if not yet,...
The following: ...raises an AssertionError because `src` exists in the element's attributes yet it's `None`. The "problematic" source code: if tag == "img" and start and not self.ignore_images: if "src"...
When using the same HTML2Text instance, the failure is presisted through future valid strings. Items that it tries to prepend the old text to the new text - Version by...
- Version by `html2text --2020.1.16` - Test script - Python version `python --3.9` Hello Team, Whenever we give Input: `1. Hello My name is Subham` to this html2text. output: `1\....
in charref(): ` if name[0] in ["x", "X"]: c = int(name[1:], 16) else: c = int(name) ` if name like "xabcdeabcdeabcdeabcde" will cause chr(c) throw OverflowError.
The image link from the `srcset` is not returned in the markdown return in the \ html element. I expect it to be returned like if the image src was...