New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1 linebreak become 3 when pasted into the text field #134
Comments
I cannot reproduce this, neither in Chromium nor in Firefox. Can you let us know what browser and OS you're using? And give us steps we can follow to reproduce this issue? (That's what the issue template is for that you deleted when creating this issue.) |
I have a text file created with Windows10 notepad containing something like: "Test test, test test test test." Copied that into Chrome Threema and it became 3 empty lines after sending, but shows with one line (correctly) in the text field before sending. |
Ah. Then it must be related to Windows line endings... 🙄 Thanks for reporting. |
I did some investigations. Chrome handels the input different to Firefox: This is the text with CR/LF on Windows (inputFromWindows.txt): This is the text pasted in the Chrome textfield and in the Firefox textfield Hope this helps solving the issue because only Chrome adds additional linebreaks. My System |
Fix line breaks when pasting Fixes #134.
If i copy and paste a text with a normal single line break. It looks normal in die text entry field of Threemaweb, but after sending I get 3 empty lines instead of just one. Looks terrible and ist annoying for longer texts.
The text was updated successfully, but these errors were encountered: