Alir3z4 / Alir3z4/html2text

Html character entities adding additional backslashes

Open
#331 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

Html2text was observed adding additional backslashes before a hyphen when parsing html strings using `html2text.html2text(str)`

**Example**

String Input:
`BEAK> - Brean Down`

Expected:
`BEAK> - Brean Down `

Actual:
`BEAK> \\- Brean Down `

There was a similar case for other other character entities as well:
`BEAK≤ \\- Brean Down`

- `2020.1.16` html2text version
- `Python 3.8.3` Python version

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.