-
Notifications
You must be signed in to change notification settings - Fork 7
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
properly handle characters for JSON parsing (runtime) #268
Comments
abirEF
added a commit
that referenced
this issue
Apr 8, 2024
abirEF
added a commit
that referenced
this issue
Apr 8, 2024
bengaid
added a commit
that referenced
this issue
Apr 8, 2024
fix bug in properly handling characters for JSON parsing #268
Thanks Abir, it is indeed a better method |
We need to ensure that HTML entities within the json data are properly decoded (for rendering HTML elements and function calls) and also to ensure handling properly characters for JSON parsing (prevents JSON parsing errors) |
Thanks Abir, all other issue fixed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
modify this code line that can provoke JSON parsing error
var decodedData = $('<textarea />').html(JSON.stringify(jsonContent.data)).text(); // MBG : find a better method
The text was updated successfully, but these errors were encountered: