Permalink
Browse files

Fix escape map

  • Loading branch information...
1 parent 73cbb64 commit 75516f4ecb44bab249c95bec6c4f48bbbd7d3c28 @codehero committed Feb 26, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 javascript/benejson.js
View
@@ -285,7 +285,8 @@ JSONTokenizer.prototype.strFn['\\'] = function(tokenizer){
JSONTokenizer.prototype.escapeMap = {
"b" : '\b',
"/" : '/',
- "f" : '\n',
+ "n" : '\n',
+ "f" : '\f',
"r" : '\r',
"t" : '\t'
};

0 comments on commit 75516f4

Please sign in to comment.