Alir3z4 / Alir3z4/html2text

Semicolon in Text with &#.

Aberta
#369 1 comentário 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Python
Estrelas
2.2k
Forks
296
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

html2text version 2020.1.16
Python version 3.9.5

```python3
import html2text

test = html2text.HTML2Text()
text = test.handle("

Sample text K&N. Sample text.

")
print(text)
```

**output:**
Sample text K&N.**;** Sample text.

Hi,

I noticed that the module inserts a simcolon in the text when converting a certain string, which I don't want. It doesn't matter which character comes after the &. Is this intentional and is it possible to work around this or is this a bug?

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.