Alir3z4 / Alir3z4/html2text

Long table rows cause incorrect table conversions

未关闭
#166 2 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
2.2k
派生
296
PR 合并指标
30 天内没有已合并 PR

描述

- 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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。