ChatGPTNextWeb / ChatGPTNextWeb/NextChat
[Bug] The $ character returned by GPT has an escape character added when displayed.
- Dominant language
- TypeScript
- Stars
- 88.8k
- Forks
- 59.1k
- PR merge metrics
- No merged PRs in 30d
Description
### Bug Description
I asked GPT to help me write a shell script. I noticed that in the shell script, all the dollar signs $ were replaced with \\$, but when I checked the original return, I found that GPT's response did not carry any escape characters.
* GPT Reponse

* Display on UI

BTW, i am use MacOS app, how can i resolve it?
### Steps to Reproduce
1. Ask GPT to create a shell script with params
### Expected Behavior
$ will show $, not \\$
### Screenshots
_No response_
### Deployment Method
- [ ] Docker
- [ ] Vercel
- [X] Server
### Desktop OS
MacOS 14.5
### Desktop Browser
Choreme
### Desktop Browser Version
_No response_
### Smartphone Device
_No response_
### Smartphone OS
_No response_
### Smartphone Browser
_No response_
### Smartphone Browser Version
_No response_
### Additional Logs
_No response_
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.