Skip to content

Commit

Permalink
fix(plugin) preserve complete closing tag in template tokens
Browse files Browse the repository at this point in the history
Signed-off-by: Jerome Simeon <[email protected]>
  • Loading branch information
jeromesimeon committed Sep 16, 2020
1 parent 97fc966 commit 1a0c263
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/markdown-it-template/lib/template_inline.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ function template_inline(state, silent) {
}

token = state.push('inline_block_' + block + '_close', 'span', -1);
token.content = match[1];
token.content = match[0];
state.pos += match[0].length;

return true;
Expand Down
Loading

0 comments on commit 1a0c263

Please sign in to comment.