[Bug] Newline characters are missing from copied text
bug
**Describe the bug**
Sending a text string from a desktop browser (linux) to a phone app (android), the newline characters are missing when the text is copied from the phone app.
**To Reproduce**
1. Open `pairdrop.net` in a chromium tab, on linux
2. Open the pairdrop app on android.
3. On the chromium window, right-click the icon to send a text string. Type:
```
one
two
three
```
4. Send.
5. The text message appears on the phone, as expected.
6. "Copy" the text message on the phone.
7. Open a text editor on the phone.
8. Paste the copied text into the text editor.
9. The copied text is `onetwothree`. Newlines are missing.
**Expected behavior**
I expect newline characters to be preserved.
**Screenshots**
N/A
**Desktop (please complete the following information):**
- OS: Ubuntu
- Browser: Chromium
- Version: 147.0.7727.55 (Official Build) snap
**Smartphone (please complete the following information):**
- Device: Moto G8 Power
- OS: Android 10
- Browser: N/A - pairdrop app
- Version: 2.3.1
**Bug occurs on official PairDrop instance https://pairdrop.net/**
Yes
Version: v1.11.2
**Bug occurs on self-hosted PairDrop instance**
N/A
**Self-Hosted Setup**
N/A
**Additional context**
N/A
3 条评论