baynezy/Html2Markdown

<ul> <ol> requires li

Closed this issue · 2 comments

Report issue

When an ul or ol Element doesn't have li elements, the converter throws an issue. (Your showcase has no issues, or doesn't show them)

Expected behavior

Doesn't throw an error and just ignores the tags

Actual Behaviour

Throws an 'Sequence has no elements'-exception.

Steps to reproduce the problem

Try it with:
<ol> Test </ol>

Having the same issue. Is there any workaround?

This is fixed in 6.0.0.1