Skip to content

Commit 1a0c263

Browse files
committed
fix(plugin) preserve complete closing tag in template tokens
Signed-off-by: Jerome Simeon <[email protected]>
1 parent 97fc966 commit 1a0c263

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

packages/markdown-it-template/lib/template_inline.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ function template_inline(state, silent) {
7474
}
7575

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

8080
return true;

0 commit comments

Comments
 (0)