Skip to content

It is not possible to create an task list without a caption

Summary

In GitLab, it is not possible to create an task list without a caption. This limitation is particularly problematic when attempting to generate a table matrix containing task checkboxes.

Steps to reproduce

  1. Open an issue or comment in GitLab.

  2. Attempt to create an task list without a caption using Markdown

    - [ ] 
  3. Observe that GitLab does not render the task list properly:

  • [ ]

What is the current bug behavior?

The task list is not rendered
image

What is the expected correct behavior?

The list should be rendered like this

image

Usecase where a empty task list is useful

Task/Server Server 1 Server 2
Task 1
  • .
  • .

Output of checks

This bug happens on GitLab.com GitLab Enterprise Edition 17.11.0-pre 688b5aa0

Possible fixes

Workaround

When adding a random character, e.g. a dot the list will be rendered

  • .
Edited by onefloid