|
@ -2,10 +2,10 @@ |
|
|
|
|
|
|
|
|
var ESCAPED = []; |
|
|
var ESCAPED = []; |
|
|
|
|
|
|
|
|
for (var i = 0; i < 256; i++) { ESCAPED.push(false); } |
|
|
for (var i = 0; i < 256; i++) { ESCAPED.push(0); } |
|
|
|
|
|
|
|
|
'\\!"#$%&\'()*+,./:;<=>?@[]^_`{|}~-' |
|
|
'\\!"#$%&\'()*+,./:;<=>?@[]^_`{|}~-' |
|
|
.split('').forEach(function(ch) { ESCAPED[ch.charCodeAt(0)] = true; }); |
|
|
.split('').forEach(function(ch) { ESCAPED[ch.charCodeAt(0)] = 1; }); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
module.exports = function escape(state, silent) { |
|
|
module.exports = function escape(state, silent) { |
|
|