Alir3z4 / Alir3z4/html2text

Trailing line break in list element should be ignored

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

描述

Give the following HTML:
```


  • Item 1

  • Item 2


```

the following Markdown will be generated:
```
* Item 1 \n\n* Item 2
```

Which will actually be interpreted as two distinct unordered lists instead of one list with two entries. It seems that removing trailing line breaks from list items would make for a better semantic translation.

- Version by 2016.9.19
- Python version 2.7.6

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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