markdown-it-task-lists
markdown-it-task-lists copied to clipboard
Using label:true option breaks markdown-it-attrs plugin
trafficstars
Another plugin markdown-it-attrs enables html attributes to be parsed from markdown as curly brackets, e.g. {.foo} => class="foo".
By default, markdown-it-task-lists works, and attrs are properly applied.
However, if I use option label: true, this creates an issue where attrs plugin fails to execute correctly: the attribute is not parsed, and the curly bracket remains in the output. Here's an example with label:true enabled:
