Alir3z4 / Alir3z4/html2text

Html character entities adding additional backslashes

Aperta
#331 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
2.2k
Fork
296
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.