html2text
html2text copied to clipboard
Trailing line break in list element should be ignored
Give the following HTML:
<ul>
<li>Item 1 <br /></li>
<li>Item 2</li>
</ul>
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.