Browse Source

Fix text after inline footnotes

pull/14/head
Alex Kocharin 10 years ago
parent
commit
32423dbac5
  1. 3
      lib/rules_inline/footnote_inline.js

3
lib/rules_inline/footnote_inline.js

@ -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;
}; };

Loading…
Cancel
Save