mojombo / clippy

Clippy is a very simple Flash widget that makes it possible to place arbitrary text onto the client's clipboard.
MIT License
939 stars 167 forks source link

Does not copy text with amperstands. #1

Closed dkindlund closed 15 years ago

dkindlund commented 15 years ago

text = 'sometext&othertext' clippy(text)

result: 'sometext' is copied to the clipboard, but we want 'sometext&othertext'

Do I have to escape the ampertand or something?

silent-e commented 15 years ago

you must url encode the text.

dkindlund commented 15 years ago

Thanks for the tip! Works fine with encoding.