Task lists in nested numbered lists don't generate system notes
This is a nested task list:
- [ ] a
- [ ] a.a
- [ ] a.b
- [ ] b
- [ ] c
- [ ] c.a
This is also a nested task list, although the documentation doesn't mention it:
1. [ ] 1
1. [ ] 1.1
1. [ ] 1.2
1. [ ] 2
1. [ ] 3
1. [ ] 3.1
Ticking an item on either of these lists will update the description and mark the item as closed. Ticking any item in the first (unordered) task list will generate a system note, but for the second task list, only the top-level items (1, 2, and 3) will do so.
https://gitlab.com/gitlab-org/gitlab-ce/blob/v8.14.0/app/models/concerns/taskable.rb#L14 allows whitespace on the front of unordered list items, but not ordered list items.
This is a problem for our people ops team, who use ordered task lists for onboarding: https://about.gitlab.com/handbook/general-onboarding/#master-checklist-for-onboarding-of-new-hires