Alir3z4 / Alir3z4/html2text

Space missing before links inside <b> tag

Open
#403 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
2.2k
Forks
296
PR merge metrics
No merged PRs in 30d

Description

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 is missing in the output, but is present in the input.

Tested and this issue is present on master. My python version is 3.8.10 on linux.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.