Editing message with _ to add a mention prepends \ in the plain text #21801
Labels
A-Composer
A-Message-Editing
O-Occasional
Affects or can be seen by some users regularly or most users rarely
S-Minor
Impairs non-critical functionality or suitable workarounds exist
T-Defect
Steps to reproduce
abc_def
@val:e2e.zone
in the example below)Outcome
What did you expect?
The edit should send
* val: abc_def
to IRCWhat happened instead?
The edit sends
* val: abc\_def
to IRCThis is because Element added backslashes in the edit box (escapes the underscore), which end up in the plain text field of the event, but not in the HTML field
Here is the full event:
Operating system
Debian 11
Browser information
91.8.0esr
URL for webapp
both https://riot.im/app/ and https://app.element.io/
Application version
1.10.10; this does not seem to happen on 1.10.1
Homeserver
matrix.org
Will you send logs?
Yes
The text was updated successfully, but these errors were encountered: