Code formatting button does not escape backticks #21437
Labels
A-Composer
good first issue
Good for newcomers
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
Outcome
What did you expect?
For the backtick to be escaped by using more backticks for the fence, like this: ``hello ` world``
What happened instead?
The composer contains this text: `hello ` world`
Since the inner backtick is not escaped, sending the message results in:
hello
world`which was not the intent
Operating system
NixOS unstable
Browser information
Firefox 97.0.1
URL for webapp
develop.element.io
Application version
Element version: adad5e1-react-e677901eaf70-js-157635476bc0 Olm version: 3.2.8
Homeserver
Synapse 1.54.0
Will you send logs?
No
The text was updated successfully, but these errors were encountered: