colspan is entirely ignored, which results in misformated tables
未关闭
- 主要语言
- Python
- 星标
- 2.2k
- 派生
- 296
- PR 合并指标
- 30 天内没有已合并 PR
描述
For example this test:
`echo 'AB123' | html2text --pad-tables`
Output is currently weirdly mangled with incorrect columns:
```
A | B
----|----
1 | 2 | 3
```
Today I learned: markdown bizarrely has no defined way of dealing with colspan or rowspan. The correct syntax is undefined here, but adding a blank dummy cell seems to be the best option at the moment, so the output should be:
```
A | | B
---|---|---
1 | 2 | 3
```
Or as shown here in github's implementation of markdown:
A | | B
---|---|---
1 | 2 | 3
贡献指南
评估
这个 Issue 还没有评估数据。