Unexpected whitespaces caused by <br>
Ouverte
- Langage dominant
- Python
- Étoiles
- 2.2k
- Forks
- 296
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
- html2text version: `2018.1.9`
- Python version `3.6.4`
Using the following code I get unexpected whitespaces in front of each `
` which got replaced by `\n`:
```
>>> import html2text
>>> h = html2text.HTML2Text()
>>> h.single_line_break = True
>>> h.handle("foo
bar")
'foo \n \n \nbar\n\n'
```
Additionally the `single_line_break` setting doesn't seem to have any effect at all.
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.