SUMMARY Several consecutive newlines are collapsed into one STEPS TO REPRODUCE 1. Send the following message: ``` a b c ``` OBSERVED RESULT The message is rendered as: ``` a b c ``` EXPECTED RESULT The message should've been rendered as: ``` a b c ``` SOFTWARE/OS VERSIONS KDE Frameworks Version: 6.5.0 Qt Version: 6.7.2 ADDITIONAL INFORMATION Interestingly, right-clicking on the message shows the following context menu item: ``` Search for 'a b c' ``` nheko renders the message as intended (see EXPECTED RESULT), but Element Android renders it as: ``` a b c ```
Created attachment 173531 [details] Example Render So the linebreaks are retained just fine for me. This is the generated rich text by the way: <pre><code>a\nb\n\nc\n</code></pre>
Can you elaborate more on what you are seeing
Oops, sorry for the lack of clarity. _Don't_ do the backticks--I typed them to clarify what I typed out. I'll upload a screen recording if that helps.
Created attachment 173547 [details] Example screen recording reproducing the bug
So this is as per the cmark spec for converting markdown to html. Multiple line breaks just create paras and the excess breaks are lost.