News for hackers. Stuff that matters.
Re:JSON: The JavaScript subset that isn't by p1mrx on Sunday May 15, 2011 @08:52PM (#2551239)
Another caveat: it's unsafe to embed arbitrary JSON in an HTML <script> tag, because a string containing "</script>" will get picked up by the parser.

This particular case can be patched by replacing "</" with "<\/".

There are no comments on this comment yet.