Describe the bug
I think this is a pretty serious issue, relative to how important we consider the .md output at this point.
I noticed this in a PR but this also seems to happen on production:
https://www.elastic.co/docs/deploy-manage/deploy/deployment-comparison.md
The PR I initially found this:
https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/4067/solutions/security/security-serverless-feature-tiers.md

The content is fine in the standard output.
Expected behavior
No duplication
Steps to reproduce
No response
Tooling