-
Notifications
You must be signed in to change notification settings - Fork 13.5k
KaTeX interpretation in code blocks #8676
Copy link
Copy link
Closed
Description
Description:
KaTeX syntax (used intentionally or unintentionally) in code blocks is interpreted and results in weird strings.
Server Setup Information:
- Version of Rocket.Chat Server: 0.59.1
- Operating System: Ubuntu 16.04 - x86_64
- Deployment Method(snap/docker/tar/etc): docker
- Number of Running Instances: 3
- DB Replicaset Oplog: Enabled
- Node Version: v4.8.4
Steps to Reproduce:
- Send code block including KaTeX syntax (single or multi line):
grep -A 2 "\[${TO_PROFILE}\]"(add `)

- Rendering is broken in single or multi line cases:

Expected behavior:
Don't (try) to interpret/render KaTeX in code blocks.
Actual behavior:
KaTeX is interpreted/rendered in code blocks (incorrectly).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels