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) {
var labelStart,
labelEnd,
pos,
footnoteId,
oldLength,
max = state.posMax,
@ -48,7 +47,7 @@ module.exports = function footnote_inline(state, silent) {
state.linkLevel--;
}
state.pos = pos;
state.pos = labelEnd + 1;
state.posMax = max;
return true;
};

Loading…
Cancel
Save