12.10 Backport: Fix error that occurs in newer Markdownlint
What does this MR do?
According to https://gitlab.com/gitlab-org/release/tasks/-/issues/1388#note_354765170 this cherry-pick of !33007 (merged) will fix the docs lint
job on 12-10-stable-ee
pipelines