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

Inline code is not rendered as expected #6649

Closed
1 task done
mamei16 opened this issue Jan 11, 2025 · 2 comments
Closed
1 task done

Inline code is not rendered as expected #6649

mamei16 opened this issue Jan 11, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@mamei16
Copy link
Contributor

mamei16 commented Jan 11, 2025

Describe the bug

Inline code is rendered in bold and "as is", instead of in the expected monospaced font. E.g.,

`my_funcall(arg1)` 

is rendered as `my_funcall(arg1)` (including the backslashes), instead of: my_funcall(arg1).
Here is how it currently looks:
code_old_small
And here is how it should look imo:
code_new_small

It seems that this commit is responsible: 8ce1bb1, so I'm not sure if this was maybe a deliberate choice.

Is there an existing issue for this?

  • I have searched the existing issues

Reproduction

Write `my_funcall(arg1)` in the chat

Screenshot

No response

Logs

-

System Info

-
@mamei16 mamei16 added the bug Something isn't working label Jan 11, 2025
@oobabooga
Copy link
Owner

This is deliberate. That's how old ChatGPT used to work, and also how old chatbot-ui did it.

@mamei16
Copy link
Contributor Author

mamei16 commented Jan 12, 2025

Thanks for the reply, I'll close this issue then.

@mamei16 mamei16 closed this as not planned Won't fix, can't repro, duplicate, stale Jan 12, 2025
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

2 participants