You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like we need rehype-raw to prevent a breaking change for existing user rehype plugins. But rehype-raw strips out the node data intentionally (syntax-tree/hast-util-raw#13). Trying to write a rehype plugin to preserve it for code tagNames.
#5335 should fix this with an alternative approach. Rehydrating the data field requires double hast tree traversal regardless if you use a code block or not, so it doesn't feel worth the effort. The PR should be much simpler.
What version of
astro
are you using?1.5.2
Are you using an SSR adapter? If so, which one?
No
What package manager are you using?
npm
What operating system are you using?
Mac
Describe the Bug
following #4447
Tested with
@astrojs/mdx": "^0.11.4"
, it still happensLink to Minimal Reproducible Example
https://stackblitz.com/edit/github-zra7nk?file=package.json
Participation
The text was updated successfully, but these errors were encountered: