Describe the bug
Bad output:

Good output:

How to Reproduce
conf.py:
extensions = ['myst_parser',
]
myst_enable_extensions = ["colon_fence"]
source_suffix = ['.rst', '.md']
index.md:
# La FAQ LaTeX francophone !
:::{only} html
Hello
:::
## Section
:::{admonition} Here's my title
:class: tip
Here's my admonition content.
:::
Environment Information
Git bisect blames 82edc3d
Running Sphinx v7.4.0+/82edc3d38
Sphinx version: 7.4.0+/82edc3d38
Python version: 3.12.3 (CPython)
Docutils version: 0.20.1
Pygments version: 2.18.0
Jinja2 version: 3.1.4
MyST-parser version: 3.0.1
Sphinx extensions
extensions = ['myst_parser',
]
myst_enable_extensions = ["colon_fence"]
source_suffix = ['.rst', '.md']