html2text
html2text copied to clipboard
[Bug] Assumes first row is always table header even if it is not
The script:
print(
html2text.html2text(
"""
<table>
<tbody>
<tr><td>item a</td><td>item b</td></tr>
<tr><td>item c</td><td>item d</td></tr>
</tbody>
</table>
"""
)
)
Results to:
item a| item b
---|---
item c| item d
- Version by
html2text --version: 2020.1.16 - Test script
- Python version
python --version: Python 3.10.2
Maybe this will fix the problem https://github.com/Alir3z4/html2text/compare/master...LEv145:html2text:master