Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] fetch-prompts.mjs` doesn't parse english prompts correctly #1240

Closed
3 tasks
yanCode opened this issue May 4, 2023 · 1 comment
Closed
3 tasks

[Bug] fetch-prompts.mjs` doesn't parse english prompts correctly #1240

yanCode opened this issue May 4, 2023 · 1 comment

Comments

@yanCode
Copy link
Contributor

yanCode commented May 4, 2023

Describe the bug
fetch-prompts.mjs doesn't parse "" correctly. if the prompt content doesn't contain "", it has no problem. but as long as there are "" inside the content. you can see the problem as in my screenshot.
This issue only happens in English prompts, while Chinese version of prompts works fine.

To Reproduce
Steps to reproduce the behavior:

  1. in chat input textarea, input '/'
  2. search prompt name "Python Interpreter" (there are two prompts of the same name, both can reproduce this problem).
  3. select it, and look at the end of the prompt content.

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

image

Deployment

  • Docker
  • Vercel
  • Server

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional Logs
Add any logs about the problem here.

@yanCode yanCode changed the title [Bug] [Bug] fetch-prompts.mjs` doesn't parse english prompts correctly May 4, 2023
@yanCode
Copy link
Contributor Author

yanCode commented May 4, 2023

i am going to create a pull request regarding to this bug.

yanCode added a commit to yanCode/ChatGPT-Next-Web that referenced this issue May 4, 2023
@yanCode yanCode mentioned this issue May 4, 2023
Yidadaa added a commit that referenced this issue May 4, 2023
@Yidadaa Yidadaa closed this as completed May 4, 2023
Endlessworld pushed a commit to Endlessworld/ChatGPT-Next-Web that referenced this issue May 17, 2023
Endlessworld pushed a commit to Endlessworld/ChatGPT-Next-Web that referenced this issue May 17, 2023
jinker pushed a commit to jinker/ChatGPT-Next-Web that referenced this issue Jun 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants