Skip to content

doesn't wrap entire list item when a link, emphasis, or other markdown in list item #3

@digitalmoksha

Description

@digitalmoksha

I appreciate this plugin, but I ran into an issue. If there is anything except plain text in the list item, then the entire list item is not wrapped with the label, only the beginning plain text. For example,

- [X] checked _with_ [link](http://example.com)

generates

<li><input type="checkbox" id="checkbox0" checked="true"><label for="checkbox0">checked </label><em>with</em> <a href="http://example.com">link</a></li>

instead of

<li><input type="checkbox" id="checkbox0" checked="true"><label for="checkbox0">checked <em>with</em> <a href="http://example.com">link</a></label></li>

This can wreak havoc with styling, making a list item clickable, etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions