Summary
When I try to copy a command, the double dashes -- get merged into a single dash -.
Command Block :

When I copy the command :

Page
https://react.dev/learn/building-a-react-framework#step-1-install-a-build-tool
Details
The command is correctly written in the markdown file :

Note that the issue seems to be with how MDX gets processed and not the <TerminalBlock> component directly.
Found this bug while fixing the issue #7614 with the PR #7615 (wrong Vite command)