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

Clippy cannot copy + signs #4

Closed
lpgauth opened this issue Feb 18, 2010 · 3 comments
Closed

Clippy cannot copy + signs #4

lpgauth opened this issue Feb 18, 2010 · 3 comments

Comments

@lpgauth
Copy link

lpgauth commented Feb 18, 2010

It seems that Clippy is unable to copy + signs.

To reproduce, using the rails helper, use the code bellow:
<%=h clippy("+++").html_safe %>

@lpgauth
Copy link
Author

lpgauth commented Feb 18, 2010

<%=h clippy(CGI.escape("+++")) %> works.

@ericabouaf
Copy link

Same thing for '&'
Maybe put in the README that if it is used for a URL, you need to encode it

@annie-l
Copy link

annie-l commented Feb 17, 2011

You can also replace the + in JS to encode it:

myString.replace("+", "%2B");

@lpgauth lpgauth closed this as completed Oct 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants