lepture/mistune

Task list items cannot consist of multiple lines

502E532E opened this issue · 0 comments

When trying the render a task list item that spans multiple lines, only the first line will be rendered:

- [ ] Task list item
  over two lines

is rendered as

<ul>
<li class="task-list-item"><input class="task-list-item-checkbox" type="checkbox" disabled/>Task list item</li>
</ul>

The subsequent lines are not rendered at all.

This seems to be a bug in the task list plugin, since a standard list item can go over multiple lines:

- List item
  over two lines

is rendered as

<ul>
<li>List item
over two lines</li>
</ul>