Alir3z4 / Alir3z4/html2text

Long table rows cause incorrect table conversions

Open
#166 2 comments 2 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
2.2k
Forks
296
PR merge metrics
No merged PRs in 30d

Description

- Version by `html2text.__version__`: (2016, 9, 19)
- Test script
```python
import html2text
conv = html2text.HTML2Text()
conv.pad_tables = True

print conv.handle('12jujuhuhu')
# 1 | 2
# -----|---------------------------------------------------------
# juju | [huhu](http://example.com/there/is/some/very/long/path)
conv.body_width = 40
print conv.handle('12jujuhuhu')
# 1
# --------------------------------------------------------
# juju
# [huhu](http://example.com/there/is/some/very/long/path)

```

- Python version `python --version`: 2.7.13

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.