Commit fce2fad1 authored by lrn@chromium.org's avatar lrn@chromium.org

Fix bug in JSON character quote table.

Review URL: http://codereview.chromium.org/3349006

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5399 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 6670c0ad
...@@ -74,7 +74,7 @@ var characterQuoteCache = { ...@@ -74,7 +74,7 @@ var characterQuoteCache = {
'\f': '\\f', // ASCII 12, Formfeed '\f': '\\f', // ASCII 12, Formfeed
'\r': '\\r', // ASCII 13, Carriage Return '\r': '\\r', // ASCII 13, Carriage Return
'\"': '\\"', '\"': '\\"',
'/': '\\/' '\\': '\\\\'
}; };
function QuoteSingleJSONCharacter(c) { function QuoteSingleJSONCharacter(c) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment