colspan is entirely ignored, which results in misformated tables
Đang mở
- Ngôn ngữ chính
- Python
- Star
- 2.2k
- Fork
- 296
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.