|
@ -52,12 +52,10 @@ module.exports = function backtick(state, silent) { |
|
|
|
|
|
|
|
|
// Some different length found, put it in cache as upper limit of where closer can be found
|
|
|
// Some different length found, put it in cache as upper limit of where closer can be found
|
|
|
state.backticks[closerLength] = matchStart; |
|
|
state.backticks[closerLength] = matchStart; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
// Scanned through the end, didn't find anything
|
|
|
// Scanned through the end, didn't find anything
|
|
|
if (matchEnd >= max) { |
|
|
|
|
|
state.backticksScanned = true; |
|
|
state.backticksScanned = true; |
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (!silent) state.pending += marker; |
|
|
if (!silent) state.pending += marker; |
|
|
state.pos += openerLength; |
|
|
state.pos += openerLength; |
|
|