Open Joseph-33 opened 4 years ago
Html2text was observed adding additional backslashes before a hyphen when parsing html strings using html2text.html2text(str)
html2text.html2text(str)
Example
String Input: BEAK> - Brean Down</a>
BEAK> - Brean Down</a>
Expected: BEAK> - Brean Down
BEAK> - Brean Down
Actual: BEAK> \\- Brean Down
BEAK> \\- Brean Down
There was a similar case for other other character entities as well: BEAK≤ \\- Brean Down
BEAK≤ \\- Brean Down
2020.1.16
Python 3.8.3
Html2text was observed adding additional backslashes before a hyphen when parsing html strings using
html2text.html2text(str)
Example
String Input:
BEAK> - Brean Down</a>
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 versionPython 3.8.3
Python version