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]: Markdown Syntax Included in Copied Search Results #2780

Closed
1 task done
RedwindA opened this issue May 18, 2024 · 2 comments · Fixed by #2781
Closed
1 task done

[Bug]: Markdown Syntax Included in Copied Search Results #2780

RedwindA opened this issue May 18, 2024 · 2 comments · Fixed by #2781
Labels
bug Something isn't working

Comments

@RedwindA
Copy link

What happened?

When using LibreChat's search feature, the search results correctly highlight the search terms in bold. However, when copying the search results using the provided copy button, the copied text erroneously includes the Markdown syntax for bold (**), which should not be present in the copied content.

Steps to Reproduce

  1. Open LibreChat and use the search feature to search for a specific term.
  2. Observe that the search term is highlighted in bold in the search results.
  3. Click the copy button to copy the search result.
  4. Paste the copied text into any text editor or input field.

What browsers are you seeing the problem on?

No response

Relevant log output

No response

Screenshots

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@RedwindA RedwindA added the bug Something isn't working label May 18, 2024
@danny-avila
Copy link
Owner

danny-avila commented May 18, 2024

The search results are emboldened because they literally have the markdown syntax for bold when retrieved from meilisearch. I suppose I can remove the bold effect entirely

@RedwindA
Copy link
Author

The search results are emboldened because they literally have the markdown syntax for bold when retrieved from meilisearch. I suppose I can remove the bold effect entirely

Thank you, it would be great if it could be removed, as I need to quickly copy the previous prompt and do not want LLM to be affected by unexpected markdown syntax

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

Successfully merging a pull request may close this issue.

2 participants