mailtolink
mailtolink copied to clipboard
Missing '?' and '&' characters in query string of output
Missing '?' and '&' characters in query string of output prior clicking the copy button.
Yeah the formatting is ran when the copy button is clicked. Seemed like an easier solution than listening to key events.
You could always try throttling or debouncing the keyup event and then run the formate function.
I identified some bug in my tests: mailto:[email protected][email protected]&?subject=Teste&body=asdasdsadasdasda
@insign Do you remember what order you entered in the form to create the error? I'm having trouble reproducing.
Let's say that was email, subject, body then cc
@insign Sorry, long delay. Could you try clearing your browser cache/a different browser? I've tried to replicate this and can't.
@mckeever02
if the form is filled in order below, there is an extra ? before body like : ...&?body=... in the query!
email -> body -> subject
I've forked the project at https://github.com/uncenter/mailtolink and fixed this issue, FYI.