Alir3z4 / Alir3z4/html2text

Trailing line break in list element should be ignored

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