krille-chan / fluffychat

The cutest instant messenger in the [matrix]
https://fluffychat.im/
GNU Affero General Public License v3.0
891 stars 151 forks source link

Markdown formatting: Long inline code does not word-wrap #1192

Open opk12 opened 1 week ago

opk12 commented 1 week ago

Bug Description

Inline code works in the the second message, but not the first message.

In the first message, inline formatting creates code blocks that must be scrolled to read the quote. In the second message, inline formatting word-wraps and shows all words.

shot

Steps to Reproduce

Send these messages.

I said `hello, this morning we are going to Berlin` and he said `hello, this morning we are going to Berlin`
I said `Berlin` and he said `Berlin`

Expected Behavior

Inline formatting should be displayed as inline, not block

shot

App Version

1.21.0 from F-droid

Additional Platform Information

Samsung Android 7.1

Additional Context

No response