wekan/wekan#2419: a card description/comment containing task-list syntax
rendered the literal text "<input disable=\"\" type=\"checkbox\"/> Task"
instead of a checkbox, because the markdown-it renderer had no task-list
extension (so it never emitted an <input> at all) and the sanitizer
forbade the input tag outright, so even a typed-in <input> would have
been stripped.
Add a small markdown-it core rule that turns a leading "[ ]"/"[x]"/"[X]"
marker on a list item into a disabled <input type="checkbox">, and allow
that exact shape through secureDOMPurify.js: only type="checkbox", and
never one carrying name/value/form/formaction, so nothing but a plain
checkbox can reach the page. The checkbox is left disabled - click-to-
toggle would mean mapping a rendered click back into the raw markdown
source and saving it, a separate, larger feature from this rendering fix.
Thanks to rodrigocipriani and xet7 !
Fixes#2419,