Skip to content

Incorrect username highlighting when mxid finishes with a dot #25246

@33Spot

Description

@33Spot

Steps to reproduce

  1. in any room or private message i write down and post username link like this for example: @username.:matrix.org

Outcome

What did you expect?

link should work for whole username like it is working for other usernames without dot

What happened instead?

link is not working like it would normally. it is working only for the matrix.org part.

Screenshot 2023-05-02 at 09 01 46

Operating system

Linux

Browser information

chromium; ferdium

URL for webapp

app.element.io

Application version

Element: 1.11.30 Olm version: 3.2.12

Homeserver

matrix.org

Will you send logs?

No

Metadata

Metadata

Assignees

Labels

A-Matrix.toA-PillsHelp WantedExtra attention is neededO-OccasionalAffects or can be seen by some users regularly or most users rarelyS-MinorImpairs non-critical functionality or suitable workarounds existT-Defectgood first issueGood for newcomers

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions