Traewelling / traewelling

Free check-in service to log your public transit journeys
https://traewelling.de
GNU Affero General Public License v3.0
224 stars 43 forks source link

Blank lines in status messages after emojis not visible #2718

Open pascalwittler opened 4 days ago

pascalwittler commented 4 days ago

Describe the bug

If the last character of a line in a status message is an emoji, subsequent empty lines are ignored in the frontend output of the status:

[1] Status message with "😅" as the last character before a blank line

1

[2] No visible empty line in the status message

2

[3] Same status message without the emoji

3

[4] Visible empty line in the status message

4

[5] Same status message with the emoji again, followed by a space before the line break

5

[6] Still visible empty line in the status message

6

Probably related to #2070

Steps to reproduce

  1. Check in wherever you want
  2. Enter a status message
  3. End a line with an emoji
  4. Insert a blank line
  5. Type another line of text
  6. Click "Save"
  7. View the output of your status message

Browser console logs

No response

Browser

Chrome on Android 13