Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editing message forgets line breaks and markdown #1939

Closed
Porrumentzio opened this issue Aug 17, 2020 · 4 comments · Fixed by #2002
Closed

Editing message forgets line breaks and markdown #1939

Porrumentzio opened this issue Aug 17, 2020 · 4 comments · Fixed by #2002

Comments

@Porrumentzio
Copy link

Describe the bug
When sending a message with line breaks and/or markdown markup and taping the edit option, those line breaks and markdown markups disappear, resulting in very odd messages.

To Reproduce
Steps to reproduce the behavior:

  1. Go to a sent message
  2. Click on "edit"
  3. The line breaks and markdown have disappeared

Expected behavior
When editing a message, all of its line breaks and markdown should stay in a editing mode (should appear the *, _, ` and so on).
The line breaks should also stay.

Screenshots
Here can be seen the message with markdown (also line breaks, but that's not so evident)
IMG_20200817_154412

Here can be seen how, when editing, the line breaks and markdown is lost.
IMG_20200817_154436

Smartphone (please complete the following information):

  • Device: Xiaomi Redmi Note 4 X
  • OS: /e/OS Android 7 Nougat

Additional context

  • 1.0.4 F-Droid
  • matrix.org

Add any other context about the problem here.

@absorber
Copy link

Seems to be related to #853 and #1982

@Porrumentzio
Copy link
Author

Will this also correct the line breaks issue?

@bmarty
Copy link
Member

bmarty commented Sep 2, 2020

This one could actually be closed by #2002, please reopen it if it is not the case (to check on Element Android v1.0.6)

@Porrumentzio
Copy link
Author

Hi! I'm on Element Android 1.0.7 and line breaks still get forgotten after editing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants