Tasks count checkboxes in commented sections
Summary
If my template includes exemplar checklists in a commented sections it will show as "0 of X complete" in the top level views.
Steps to reproduce
- Create an issue with a task list that has elements in a commented section
- Look at the overview and see that those are counted towards completion
Example Project
What is the current bug behavior?
Commented out task lists count towards task completion.
What is the expected correct behavior?
Commented out task lists are not counted towards issue completion - they may be included for an example to make life easier for a developer.
Relevant logs and/or screenshots
0 of 12???? I only see 3 check boxes!
Output of checks
Results of GitLab environment info
Expand for output related to GitLab environment info
(For installations with omnibus-gitlab package run and paste the output of: `sudo gitlab-rake gitlab:env:info`) (For installations from source run and paste the output of: `sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production`)
Results of GitLab application Check
Expand for output related to the GitLab application check
(For installations with omnibus-gitlab package run and paste the output of:
sudo gitlab-rake gitlab:check SANITIZE=true)(For installations from source run and paste the output of:
sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true)(we will only investigate if the tests are passing)

