diff --git a/lib/rules_inline/emphasis.js b/lib/rules_inline/emphasis.js index 9fae5d4..979e925 100644 --- a/lib/rules_inline/emphasis.js +++ b/lib/rules_inline/emphasis.js @@ -164,11 +164,11 @@ module.exports = function emphasis(state, silent) { if (count % 2) { token = state.push('em_close', 'em', -1); - token.markup = String.fromCharCode(marker) + String.fromCharCode(marker); + token.markup = String.fromCharCode(marker); } for (count = startCount; count > 1; count -= 2) { token = state.push('strong_close', 'strong', -1); - token.markup = String.fromCharCode(marker); + token.markup = String.fromCharCode(marker) + String.fromCharCode(marker); } state.pos = state.posMax + startCount;