Skip to content

Editing a message with a mention/ping in it malforms the mention/ping #858

@bunlibnow

Description

@bunlibnow

Describe the bug

When you edit a message that has a mention of someone in it, then Sable mangles the mention/ping.

Original message:
Image

Edit open:
Image

After editing:
Image

Reproduction

  1. Send a message with a mention/ping
  2. Edit it

Expected behavior

Editing would leave the mention/ping alone.

Platform and versions

1. Linux
2. Firefox 140.10.2esr
3. 1.16.1

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions