Semicolon in Text with &#.
未關閉
- 主要語言
- Python
- 星號
- 2.2k
- 分支
- 296
- PR 合併指標
- 30 天內沒有已合併 PR
描述
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?
貢獻指南
評估
這個 Issue 還沒有評估資料。