<!-- Please report security issues by email to security@matrix.org --> <!-- This is a bug report template. By following the instructions below and filling out the sections with your information, you will help the us to get all the necessary data to fix your issue. You can also preview your report before submitting it. You may remove sections that aren't relevant to your particular case. Text between <!-- and --> marks will be invisible in the report. --> ### Description When editing a message containing a markdown quote, Riot will insert a newline that has to be manually removed to retain the quote formatting. ``` > This is my original message ``` when edited, becomes ``` > This is my original message. ``` ### Steps to reproduce - Send a message of the format above. - Begin to edit the message either via the pencil button or the up arrow. <!-- Please send us logs for your bug report. They're very important for bugs which are hard to reproduce. To do this, create this issue then go to your account settings and click 'Submit Debug Logs' from the Help & About tab --> Logs being sent: yes <!-- Include screenshots if possible: you can drag and drop images below. --> <img width="279" alt="Screen Shot 2020-02-26 at 1 41 16 PM" src="https://user-images.githubusercontent.com/2212754/75376247-bc457600-589d-11ea-9bc9-01e0864a7077.png"> <img width="464" alt="Screen Shot 2020-02-26 at 1 41 26 PM" src="https://user-images.githubusercontent.com/2212754/75376256-bea7d000-589d-11ea-80e8-620096ec3b90.png"> ### Version information <!-- IMPORTANT: please answer the following questions, to help us narrow down the problem --> - Riot-Desktop 1.5.10 - macOS