|
|
@ -8,6 +8,11 @@ module.exports = function inline(state) { |
|
|
|
tok = tokens[i]; |
|
|
|
if (tok.type === 'inline') { |
|
|
|
state.md.inline.parse(tok.content, state.md, state.env, tok.children); |
|
|
|
|
|
|
|
// Update position of all children to be absolute
|
|
|
|
for (var child = 0; child < tok.children.length; child++) { |
|
|
|
tok.children[child].position = tok.children[child].position + tok.position; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
}; |
|
|
|