Skip to content

Commit 38b626d

Browse files
authored
feat: replace code_block indent spaces with ZWSP (#15)
1 parent d2b77a3 commit 38b626d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rules_block/code.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ module.exports = function code(state, startLine, endLine/*, silent*/) {
3030
state.line = last;
3131

3232
token = state.push('code_block', 'code', 0);
33-
token.content = state.getLines(startLine, last, 4 + state.blkIndent, true);
33+
token.content = state.getLines(startLine, last, 4 + state.blkIndent, true, true);
3434
token.map = [ startLine, state.line ];
3535
token.position = pos;
3636
token.size = endPos - pos;

0 commit comments

Comments
 (0)