Browse Source

Fixed prev commit

pull/14/head
Vitaly Puzrin 10 years ago
parent
commit
1e65876d7b
  1. 4
      lib/rules_inline/escape.js

4
lib/rules_inline/escape.js

@ -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) {

Loading…
Cancel
Save