Describe the bug
When there is more than one trailing/leading newline in a message, only the last/first one is removed before sending the message. This also occurs with multiple blank lines in the middle of a message.
Reproduction
- Send the following message (line numbers added for clarity. remove before sending):
- Observe that it sends the following:
Expected behavior
Newlines would be trimmed properly:
System info
OS: Windows 10
Browser: Helium version 0.9.4.1
Cinny version: v1.11.1 PWA
Describe the bug
When there is more than one trailing/leading newline in a message, only the last/first one is removed before sending the message. This also occurs with multiple blank lines in the middle of a message.
Reproduction
Expected behavior
Newlines would be trimmed properly:
System info