|
@ -31,6 +31,8 @@ module.exports = function backtick(state, silent) { |
|
|
token.content = state.src.slice(pos, matchStart) |
|
|
token.content = state.src.slice(pos, matchStart) |
|
|
.replace(/[ \n]+/g, ' ') |
|
|
.replace(/[ \n]+/g, ' ') |
|
|
.trim(); |
|
|
.trim(); |
|
|
|
|
|
token.position = start; |
|
|
|
|
|
token.size = (matchStart + 1) - token.position; |
|
|
} |
|
|
} |
|
|
state.pos = matchEnd; |
|
|
state.pos = matchEnd; |
|
|
return true; |
|
|
return true; |
|
|