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

LaTeX is wrongly inserted inside inline code blocks #1599

Open
BafS opened this issue Nov 28, 2024 · 4 comments
Open

LaTeX is wrongly inserted inside inline code blocks #1599

BafS opened this issue Nov 28, 2024 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@BafS
Copy link

BafS commented Nov 28, 2024

Bug description

LaTeX (KaTeX) is inserted inside inline code when $ is used.

Steps to reproduce

  • Use any model
  • "write a quick sort in php"

Screenshots

image

Context

Logs

(nothing interesting)

Specs

  • OS: Macos
  • Browser: Firefox
  • chat-ui commit: v0.9.4
@BafS BafS added the bug Something isn't working label Nov 28, 2024
@nsarrazin
Copy link
Collaborator

Hi, thanks for the report, I can reproduce. Let me see what I can do!

@calycekr
Copy link

calycekr commented Dec 2, 2024

@nsarrazin same issue

Literal '$$' or '$' inside inline code block(``) cause a bug when mentioned by the model.

@BafS
Copy link
Author

BafS commented Dec 4, 2024

For information code blocks (pre) can also have the issue

image

@calycekr
Copy link

calycekr commented Dec 5, 2024

@BafS Same.

Literal $ is missing inside inline code block (``) for now

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

3 participants