Alir3z4 / Alir3z4/html2text

Long table rows cause incorrect table conversions

オープン
#166 コメント 2 件 リアクション 2 件 担当者 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 を短くまとめたダイジェスト。