提交 6280dcb5 编写于 作者: J Johannes Rieken

render paragraphs as such, fixes #10311

上级 b89e129a
......@@ -100,7 +100,7 @@ function _renderHtml(content: IHTMLContentElement, options: RenderOptions = {}):
return `<a href="#" data-href="${href}" title="${title || text}">${text}</a>`;
};
renderer.paragraph = (text): string => {
return `<div>${text}</div>`;
return `<p>${text}</p>`;
};
if (options.codeBlockRenderer) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册