synox / disposable-mailbox

self-hosted disposable email service (php) using catch-all and imap
GNU General Public License v3.0
390 stars 147 forks source link

Copying Mail button copies wrong #63

Closed dabenzel closed 6 years ago

dabenzel commented 6 years ago

If I copy a mail adress with the button, it copies it with a whitespace before and after the mail adress. I think thats wrong.

Firefox 61.0.2 (64-Bit) / WIN 10

synox commented 6 years ago

you can solve it by putting the with id=my-address on one line. Please make a pull request.

dabenzel commented 6 years ago

Do you mean this? I think, that it is already correct.

https://github.com/synox/disposable-mailbox/blob/d86adfc950806a871caa8cfa33d542acbde80853/src/frontend.template.php#L102

synox commented 6 years ago

no i mean the previous two lines

dabenzel commented 6 years ago

I'm sorry. I think I didn't get what you meant.

synox commented 6 years ago

merge lines 100 to 103 and remove spaces.

https://github.com/synox/disposable-mailbox/blob/d86adfc950806a871caa8cfa33d542acbde80853/src/frontend.template.php#L100