Skip to content

New KaTeX bug, line breaks appear as <br> #16129

@Crayder

Description

@Crayder

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:

  1. Do some KaTeX (sorry if the vulgarness seems unprofessional).
    image
  2. That worked fine and looks great.
  3. Add some line breaks.
    image
  4. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: ui/uxRelated to UI/UX, frontend code, accessibility, and user interactionmessage renderingtriagedIssue reviewed and properly taggedtype: bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions