SchildiChat / SchildiChat-android

Matrix client / Element Android fork
https://schildi.chat/android/
Apache License 2.0
385 stars 49 forks source link

markdown formatting does not switch to code view on edit mode #233

Open firefoxlover opened 3 months ago

firefoxlover commented 3 months ago

Describe the bug When using markdown, you write the message in code mode. Then it is displayed in the preview mode.

It seems to have issue switching back to code mode when editing it, instead it is displayed in some strange intermediary state, where linebreaks are for example smaller than complete blank lines.

When then sending that text it is used as code though, so all formatting and linebreaks are gone.

Smartphone (please complete the following information):

Additional context

Upstream relevance Not tested.