We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
E.g. http://api.icndb.com/jokes/537?escape=javascript It escapes ', which is wrong.
http://api.icndb.com/jokes/537?escape=javascript
'
I do not know any PHP, so I can't provide a PR, but I found this http://www.pontikis.net/tip/?id=5
EDIT: For anyone finding this, and using JavaScript
JSON.parse(response.replace(/\\'/g, '\''));
The text was updated successfully, but these errors were encountered:
Fixed issue #2
d4c1721
Hi,
I just pushed an update: JavaScript escaping indeed escaped too much. It should be fixed now, can you verify?
Regards and thanks for reporting
Sorry, something went wrong.
Yup, works fine now. Thanks!
No branches or pull requests
E.g.
http://api.icndb.com/jokes/537?escape=javascript
It escapes
'
, which is wrong.I do not know any PHP, so I can't provide a PR, but I found this http://www.pontikis.net/tip/?id=5
EDIT: For anyone finding this, and using JavaScript
The text was updated successfully, but these errors were encountered: