React version: 19 RC
Steps To Reproduce
Use double quote mark in single-quoted JSX string prop like so:
export function Component() {
return (<Message caption='Some "text"' />);
}
and you'll get this error:

Link to code example:
https://playground.react.dev/#N4Igzg9grgTgxgUxALhAgHgBwjALgAgDMoA7OXASwhPwGEIBbbEhE3ACgEp9gAdG-DAS5YNdgB4AsgjBgAhgHME+OHMyVqAXgDkAZUbLeIXBlxHt+APQA+TgG5+AXxCOgA