Message is rendering wrong after replacing text with sed like message with `<` character
Description
When I typed test
as a message and s/s/</
as a next message, the message renders as te (edited)
. After pressing arrow up to edit, it shows Editing message: te
and in the input there is te<t
.
Steps to reproduce
- Write a
test
message - Replace a substring with a
<
character using sed like syntax - See the message being rendered wrong
What is the current bug behavior?
The message is rendered as te
What is the expected correct behavior?
Message should be rendered as te<t
Relevant logs and/or screenshots
Possible fixes
(If you can, link to the line of code that might be responsible for the problem)
System/Matrix Information
- Distribution / Platform: Archlinux
- Qt Version: 5.15.2
- NeoChat version: 1.2
- Quotient version: 0.6.6
- Matrix server: wvffle.net