Skip to content

Line breaks removed when escaping characters #15320

@kalenpw

Description

@kalenpw

Description

Line breaks are stripped out when escaping characters in a message

Steps to reproduce

  • Type the following
  • \> text [SHIFT ENTER] \> text 2
  • post message
  • New lines will be stripped from post

Describe how what happens differs from what you expected.

Expectation is line breaks are preserved

Logs being sent: no

riot
(Left becomes right when you enter it)

Version information

  • Platform: web (in-browser)

For the web app:

  • Browser: Verified on Chrome and Microsoft Edge
  • OS: macOS Mojave and Ubuntu 18.04
  • URL: Elsewhere, version 1.7.7

For the desktop app:

I'm fairly certain this happens on Desktop version but will update here later after I confirm

  • OS: Windows, macOS, Ubuntu, Arch Linux, etc?
  • Version: 1.x.y

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-ComposerO-OccasionalAffects or can be seen by some users regularly or most users rarelyS-MinorImpairs non-critical functionality or suitable workarounds existT-DefectZ-Upstream

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions