Markdown multi-line checkboxes are not aligned

When adding multi-line checkbox items in a list, the lines following a checkbox item are not aligned to the first line.

Input

- [ ] First line of one item  
      Second line of one item
- [ ] First line of second item
- [ ] First line of third item

Expected output

image

Actual output

  • First line of one item
    Second line of one item
  • First line of second item
  • First line of third item

Note: when I go to the preview pane in the issue editor, it renders as expected. But after submitting the issue, the final render is not what I expected.

GitLab self-hosted version: 15.2.2-ee

Edited by Enrico Sacchetti