-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
JSON iframe #4
Comments
This bug still exists in version: 2.43 (12-MAR-2010). I found it while working rails 3. The suggested fix works fine for me (firefox 3.6). Only the line changed from 320 to 327. |
What browser does this occur on? Can you create a simple test page for me? Thanks. |
Same Issue - This is a problem on Max OSX, Windows - tested with all browsers. |
I'm not sure it's the only problem, anyway I've used <textarea> tag and it works just fine. :) |
+1 |
I can attest both to the problem still existing (osx and win, all major browsers) and that the patch fixed the problem for me. Was losing my mind until I saw this bug report! |
Fixed in v2.50. Thanks for all the feedback. |
When I have some HTML in the JSON object, I get < instead of < and > instead of > and so on.
This modification fixed the problem.:
Line 320:
xhr.responseText = pre.textContent;
There is innerHTML instead of textContent now. But that returns something like php func htmlspecialchars - chars like < and > are encoded to their entities which is bad.
The text was updated successfully, but these errors were encountered: