Reported by @cosmic moss
Bug Report: ChatGPT canvas issue when coding in c/c++ or similar
`Steps to Reproduce`
When AI generates a code in canvas, it always converts symbol \n in c-style string like “some string\n” to the real line break. Asking them to use escaped newline \ \n doesn’t help as escape character still appear in the final code as well
`Expected Result`
Show newline symbol in c-style string as is, e.g. printf( "%s\n", str_var );
`Actual Result`
printf( "%s
", str_var );
`Environment`
Windows 10, Chrome 139