diff --git a/src/scripts/renderers/wx-renderer.js b/src/scripts/renderers/wx-renderer.js index 58d50ea..f7b239d 100644 --- a/src/scripts/renderers/wx-renderer.js +++ b/src/scripts/renderers/wx-renderer.js @@ -111,7 +111,9 @@ const WxRenderer = function (opts) { return `

${text}

` } } - renderer.paragraph = text => `

${text}

` + renderer.paragraph = text => { + return text.replace(/ /g, '') === '' ? '' : `

${text}

` + } renderer.blockquote = text => { text = text.replace(//, `

`)