Skip to content

editing an escaped formatted message does not retain escaped characters #20140

Closed
matrix-org/matrix-react-sdk
#8004
@HarHarLinks

Description

@HarHarLinks

Steps to reproduce

  1. send message prefixed with /shrug
  2. edit message

Outcome

What did you expect?

similar to /rainbow, put the original command in the composer. most importantly reproduce the original behaviour.
also, escape stuff properly when editing.

What happened instead?

content is placed into composer literally, \ is interpreted as escape and gets lost

Operating system

arch

Application version

Element Nightly version: 2021121001 Olm version: 3.2.3

How did you install the app?

aur

Homeserver

No response

Will you send logs?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-ComposerA-Message-EditingO-OccasionalAffects or can be seen by some users regularly or most users rarelyS-MinorImpairs non-critical functionality or suitable workarounds existT-DefectZ-PapercutsVisible. Impactful. Predictable to action.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions