Skip to content
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

Pasting removes space #236

Closed
rugk opened this issue May 27, 2017 · 1 comment
Closed

Pasting removes space #236

rugk opened this issue May 27, 2017 · 1 comment
Labels
bug It's a bug!

Comments

@rugk
Copy link
Contributor

rugk commented May 27, 2017

Expected Behavior

This is Threema Web on GitHub: https://github.com/threema-ch/threema-web is send.

Current Behavior

This is Threema Web on GitHub:https://github.com/threema-ch/threema-web is send.

The bad thing is, that this makes the link unclickable in the app. (in Threema Web is is still clickable, FYI)

Possible Solution

Maybe caused by fixing #134?

Steps to Reproduce (for bugs)

  1. First "write" something ending with (at least) one space. (Actually you can also paste it…) E.g.: This is Threema Web on GitHub: (<-- Note that there is a space at the end, which is also stripped by GitHub here 😢 )
  2. Now paste something else in there, e.g. a link. (https://github.com/threema-ch/threema-web)
  3. Everything looks right, but now press enter.

Your Environment

  • Threema Web version: 1.2.1
  • Browser name and version: Firefox 53.0.2
@dbrgn dbrgn added the bug It's a bug! label May 29, 2017
@dbrgn
Copy link
Contributor

dbrgn commented May 29, 2017

Thanks, in contrast to #229 I can reproduce this :) Yes, it's a regression introduced by #219.

dbrgn pushed a commit that referenced this issue May 29, 2017
Regression introduced in #219. Fixes #236 and #229.
dbrgn added a commit that referenced this issue May 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug It's a bug!
Development

No branches or pull requests

2 participants