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

perplexica doesn't properly quote HTML in generated output #204

Open
rick-github opened this issue Jun 17, 2024 · 0 comments
Open

perplexica doesn't properly quote HTML in generated output #204

rick-github opened this issue Jun 17, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@rick-github
Copy link

rick-github commented Jun 17, 2024

Describe the bug
If an answer includes HTML, it will be interpreted by the browser, breaking the rendering

To Reproduce
Steps to reproduce the behavior:

  1. Go to localhost:3000
  2. select model qwen2:1.5b-instruct-q4_K_M
  3. Type 'create a simple webpage' in the text box
  4. Perplexica will start to render the answer
  5. The browser will start to render the answer
  6. The page goes blank

Expected behavior
Perplexica should quote the output so that the browser doesn't think that it should be rendering it.

@rick-github rick-github added the bug Something isn't working label Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant