Rocket.Chat
Rocket.Chat copied to clipboard
Blockquotes formatting is faulty in threads
Description:
In blockquotes, the language name is shown as text in threads.
Steps to reproduce:
I have sent the following message in a conversation, then in a thread. A \
has been added in this issue before the triple backquotes, which is not present in the chat messages.
\```python
def my_function():
trucà = 42
return ""
\```
Expected behavior:
This is what I have in a conversation with myself. Everything looks fine.
Actual behavior:
This is what I get when posting the same block in a thread. The language name is displayed, and the syntax coloring doesn't work on the first line.
Server Setup Information:
- Version of Rocket.Chat Server:
5.3.3
- Operating System: Official Rocketchat image, with microservices
- Deployment Method: Docker Image in Openshift
- Number of Running Instances: Several
- DB Replicaset Oplog:
- NodeJS Version:
14.19.3
- MongoDB Version:
5.0.13
Client Setup Information
- Desktop App or Browser Version: Desktop app and in browser
- Operating System: Ubuntu 22.04
Additional context
This should be referenced in https://github.com/RocketChat/Rocket.Chat/projects/57
Hey @matthias4217, I have noticed this behaviour too, I am keen to research on that!
Hey, I tried this in my local setup.
def my_function():
trucà = 42
return "�"
pasted the above without the back-slash('')[
https://user-images.githubusercontent.com/92082372/218271610-0ea18aa3-345e-4f28-856a-093ae39c55f2.mp4
](url)