element-hq / element-hq/element-android
Can't escape backslashes or asterisks
- Dominant language
- Kotlin
- Stars
- 3.7k
- Forks
- 917
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
Using an additional backslash to escape a backslash doesn't work. Both backslashes still get treated as escapes for whatever follows.
Using a backslash to escape an asterisk doesn't work eithec.
**To Reproduce**
Steps to reproduce the behavior:
1. Enable MD
2. Type `\*bruh \\\_\*` in a chat
3. Send
4. See only
>*bruh \_*
**Expected behavior**
Should see
>\*bruh \\\_\*
**Screenshots**
If applicable, add screenshots to help explain your problem.


**Smartphone (please complete the following information):**
- Device: [e.g. Samsung S6] Samsung GS20
- OS: [e.g. Android 6.0] Android 11
**Additional context**
- App version and store [e.g. 1.0.0 - F-Droid] 1.0.14-dev [206996860] (G-b1012) develop
- Homeserver: [e.g. matrix.org] ostavrosnika.com
Add any other context about the problem here.
Contributor guide
Assessment
This issue has not been assessed yet.