Add missing char to to_ascii
This commit is contained in:
parent
d051f29cac
commit
e38b5a70e8
|
|
@ -80,11 +80,12 @@ function OutputStream(options) {
|
|||
while (code.length < 4) code = "0" + code;
|
||||
return "\\u" + code;
|
||||
}
|
||||
});
|
||||
}).replace(/\x0B/g, "\\x0B");
|
||||
};
|
||||
|
||||
function make_string(str) {
|
||||
var dq = 0, sq = 0;
|
||||
|
||||
str = str.replace(/[\\\b\f\n\r\t\x22\x27\u2028\u2029\0]/g, function(s){
|
||||
switch (s) {
|
||||
case "\\": return "\\\\";
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user