Copying a message causes code snippets to break
Versions
- OS: Linux
- Gajim version: 1.8.1
- GTK version: 3.24.38
- Python-nbxmpp version: 4.3.2
Steps to reproduce the problem
- Open Note to myself.
- Write code snippet in chat.
```c #include "stdio.h" ```
- Send the message.
- Select the message using context menu action Select messages.
- Press Copy button.
- Paste the message in chat.
It will look like
2023-05-02T05:22:01 - vito: ```c #include "stdio.h" ```
Expected behavior
Copy-pasted code snippets must start on a new line.
2023-08-24T09:29:55 - vito:
```c
#include "stdio.h"
```
Actual behavior
The copied code snippets are not displaying correctly.
2023-08-24T09:29:55 - vito: ```c
#include "stdio.h"
```