Quotes in YAML codeblocks can escape and leak onto the page #10726
Labels
- P4: important
Violate documented behavior or significantly impacts performance (priority)
regression
What version of
starlight
are you using?0.21.2
What version of
astro
are you using?4.5.12
What package manager are you using?
npm
What operating system are you using?
Linux
What browser are you using?
Brave (Chromium)
Describe the Bug
Note sure if this is a bug in Starlight, Astro, Expressive Code or Shiki.
Seeing the following weird behavior for certain YAML codeblocks. I think something is not properly escaping
" >
, resulting in code getting leaked.markdown to replicate:
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-sdjcwl-k7jz7g?file=src%2Fcontent%2Fdocs%2Findex.mdx
Participation
The text was updated successfully, but these errors were encountered: