|
@ -8,7 +8,6 @@ var parseLinkLabel = require('../helpers/parse_link_label'); |
|
|
module.exports = function footnote_inline(state, silent) { |
|
|
module.exports = function footnote_inline(state, silent) { |
|
|
var labelStart, |
|
|
var labelStart, |
|
|
labelEnd, |
|
|
labelEnd, |
|
|
pos, |
|
|
|
|
|
footnoteId, |
|
|
footnoteId, |
|
|
oldLength, |
|
|
oldLength, |
|
|
max = state.posMax, |
|
|
max = state.posMax, |
|
@ -48,7 +47,7 @@ module.exports = function footnote_inline(state, silent) { |
|
|
state.linkLevel--; |
|
|
state.linkLevel--; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
state.pos = pos; |
|
|
state.pos = labelEnd + 1; |
|
|
state.posMax = max; |
|
|
state.posMax = max; |
|
|
return true; |
|
|
return true; |
|
|
}; |
|
|
}; |
|
|