|
@ -300,6 +300,8 @@ Renderer.prototype.renderInlineAsText = function (tokens, options, env) { |
|
|
result += tokens[i].content; |
|
|
result += tokens[i].content; |
|
|
} else if (tokens[i].type === 'image') { |
|
|
} else if (tokens[i].type === 'image') { |
|
|
result += this.renderInlineAsText(tokens[i].children, options, env); |
|
|
result += this.renderInlineAsText(tokens[i].children, options, env); |
|
|
|
|
|
} else if (tokens[i].type === 'softbreak') { |
|
|
|
|
|
result += '\n'; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|