element-hq / element-hq/element-android
Buggy Code Fence appeareance
- Dominant language
- Kotlin
- Stars
- 3.7k
- Forks
- 917
- PR merge metrics
- No merged PRs in 30d
Description
**Describtion**
In a message like this :
Some absoulully normal text
```
Some Code
```
The Code is just code,but the normal Text also gets this typewriter/Code font and has no automated line breaks, so if the message is long, you have to scroll sideways forever
**To Reproduce**
Steps to reproduce the behavior:
1. Enter any room
2. if there is none already, write a mesage with a long text above a code fence
3. See error/buggy appeareance
**Expected behavior**
It should display the Code as Code, and the non-code as standart text with normal font and auto-linebreaks.
**Screenshots**
This message:

Results into this: (see the side-scroll-bar?)


**Smartphone**
- Device: Xiaomi Redmi 4X
- OS: Android 7.1.2
But a Friend of mine could reproduce this on:
- Device: Samsung galaxy a3
- OS: Android 8.0.0
**Additional context**
- App version(mine is the same wth the mentioned friend): 1.0.11 [40100112] (G-b847)
- Store:
- Friend: F-Droid
- Me: idk anymore
- Homeserver: matrix.org (both of us)
Contributor guide
Assessment
This issue has not been assessed yet.