-
Notifications
You must be signed in to change notification settings - Fork 13.5k
New KaTeX bug, line breaks appear as <br> #16129
Copy link
Copy link
Open
Labels
area: ui/uxRelated to UI/UX, frontend code, accessibility, and user interactionRelated to UI/UX, frontend code, accessibility, and user interactionmessage renderingtriagedIssue reviewed and properly taggedIssue reviewed and properly taggedtype: bug
Description
Description:
This definitely wasn't happening last week, not sure when my RocketChat would've upgraded however. I'm on v2.15.2.
Steps to reproduce:
- Do some KaTeX (sorry if the vulgarness seems unprofessional).

- That worked fine and looks great.
- Add some line breaks.

- It's broke. Line breaks show as HTML line breaks.
Expected behavior:
Just do the KaTeX. Ignore newline characters like it did before, UNLESS you use the KaTeX commands for newline.
Actual behavior:
<br> is printed for every newline character.
Client Setup Information
- Desktop App or Browser Version: v2.15.2
- Operating System: Windows 10
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area: ui/uxRelated to UI/UX, frontend code, accessibility, and user interactionRelated to UI/UX, frontend code, accessibility, and user interactionmessage renderingtriagedIssue reviewed and properly taggedIssue reviewed and properly taggedtype: bug