Browse Source

typo fix

pull/14/head
Vitaly Puzrin 11 years ago
parent
commit
bf1016510b
  1. 2
      lib/rules_inline/strikethrough.js

2
lib/rules_inline/strikethrough.js

@ -23,7 +23,7 @@ module.exports = function strikethrough(state) {
// this code also prevents recursion
if (state.validateInsideEm || state.validateInsideLink) { return false; }
if (state.level >= state.options.level) { return false; }
if (state.level >= state.options.maxNesting) { return false; }
lastChar = start > 0 ? state.src.charCodeAt(start - 1) : -1;
nextChar = state.src.charCodeAt(start + 2);

Loading…
Cancel
Save